9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2025-04-26 02:04:45 +02:00

Update qp_import_trexio.py

If True the export under trexio format followed by the import under trexio format leads to a wrong energy
This commit is contained in:
Yann Damour 2025-01-17 04:24:27 +01:00 committed by GitHub
parent 2e95a05366
commit b0191f2c72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,7 +195,7 @@ def write_ezfio(trexio_filename, filename):
prim_factor = trexio.read_basis_prim_factor(trexio_file)
for i,p in enumerate(prim_factor):
coefficient[i] *= prim_factor[i]
ezfio.set_ao_basis_primitives_normalized(True)
ezfio.set_ao_basis_primitives_normalized(False)
ezfio.set_basis_prim_coef(coefficient)
elif basis_type.lower() == "numerical":