mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 20:34:58 +01:00
Fixed qp_import_trexio.py
This commit is contained in:
parent
b68cc4ef9a
commit
869e45a7e5
@ -341,7 +341,9 @@ def write_ezfio(trexio_filename, filename):
|
||||
print("OK")
|
||||
|
||||
else:
|
||||
warnings.append("Integrals should be imported using `qp run import_trexio_integrals`")
|
||||
if basis_type.lower() == "gaussian" and not cartesian:
|
||||
warnings.append(f"Spherical AOs not handled by QP. Convert the TREXIO file using trexio_tools:\n trexio convert-to -t cartesian -o cartesian_{trexio_filename} {trexio_filename}")
|
||||
warnings.append("Integrals should be imported using:\n qp run import_trexio_integrals")
|
||||
print("None")
|
||||
|
||||
|
||||
@ -516,7 +518,9 @@ def write_ezfio(trexio_filename, filename):
|
||||
|
||||
|
||||
for w in warnings:
|
||||
print(w)
|
||||
s = "-------------"
|
||||
print (s)
|
||||
print (w)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user