mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-23 04:43:50 +01:00
qp_set_frozen_core.py accepts 0 core MOs
This commit is contained in:
parent
b7beac4557
commit
3529950720
@ -19,6 +19,9 @@ for charge in ezfio.nuclei_nucl_charge:
|
|||||||
|
|
||||||
mo_tot_num = ezfio.mo_basis_mo_tot_num
|
mo_tot_num = ezfio.mo_basis_mo_tot_num
|
||||||
|
|
||||||
|
if nb == 0:
|
||||||
|
os.system( """qp_set_mo_class -act "[1-%d]" %s"""%(1, mo_tot_num, sys.argv[1]) )
|
||||||
|
else:
|
||||||
os.system( """qp_set_mo_class -core "[1-%d]" -act "[%d-%d]" %s"""%(nb, nb+1, mo_tot_num, sys.argv[1]) )
|
os.system( """qp_set_mo_class -core "[1-%d]" -act "[%d-%d]" %s"""%(nb, nb+1, mo_tot_num, sys.argv[1]) )
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user