mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-10-31 10:43:38 +01:00
This commit is contained in:
parent
b1c91c205b
commit
0e6ebdc5a2
@ -147,11 +147,15 @@ def write_ezfio(res, filename):
|
||||
ezfio.set_ao_basis_ao_prim_num(num_prim)
|
||||
ezfio.set_ao_basis_ao_power(power_x + power_y + power_z)
|
||||
try:
|
||||
if res.normf == 0:
|
||||
normf = res.normf
|
||||
if normf == 0:
|
||||
ezfio.set_ao_basis_ao_normalized(True)
|
||||
elif res.normf == 1:
|
||||
elif normf == 1:
|
||||
ezfio.set_ao_basis_ao_normalized(False)
|
||||
except:
|
||||
else:
|
||||
print("BUG in NORMF")
|
||||
sys.exit(0)
|
||||
except AttributeError:
|
||||
ezfio.set_ao_basis_ao_normalized(True)
|
||||
|
||||
# ~#~#~#~#~#~#~ #
|
||||
|
Loading…
Reference in New Issue
Block a user