10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-19 03:36:23 +02:00

Update qp_convert_qmcpack_to_ezfio.py

Support python 2.6 for qmcpack
This commit is contained in:
Thomas Applencourt 2016-03-10 08:40:20 +01:00
parent 66ce404ca4
commit fbcddd5b62

View File

@ -256,7 +256,7 @@ def print_mo_coef(mo_coef_block, l_l_sym):
i_a = int(l[1]) - 1
sym = l[2]
print l_label[i_a], sym, " ".join('{: 3.8f}'.format(i)
print l_label[i_a], sym, " ".join('{0: 3.8f}'.format(i)
for i in a[i])
if i_block != nb_block - 1: