mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-10-30 10:18:07 +01:00
Better handling of normf=1
This commit is contained in:
parent
f629fc993e
commit
b1c91c205b
@ -146,7 +146,13 @@ def write_ezfio(res, filename):
|
||||
ezfio.set_ao_basis_ao_nucl(at)
|
||||
ezfio.set_ao_basis_ao_prim_num(num_prim)
|
||||
ezfio.set_ao_basis_ao_power(power_x + power_y + power_z)
|
||||
ezfio.set_ao_basis_ao_normalized(False)
|
||||
try:
|
||||
if res.normf == 0:
|
||||
ezfio.set_ao_basis_ao_normalized(True)
|
||||
elif res.normf == 1:
|
||||
ezfio.set_ao_basis_ao_normalized(False)
|
||||
except:
|
||||
ezfio.set_ao_basis_ao_normalized(True)
|
||||
|
||||
# ~#~#~#~#~#~#~ #
|
||||
# P a r s i n g #
|
||||
|
Loading…
Reference in New Issue
Block a user