10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-23 21:03:54 +01:00

Fix alignment

This commit is contained in:
Mickaël Véril 2019-11-18 09:48:26 +01:00
parent aab078c44e
commit 73aa671222

View File

@ -80,7 +80,7 @@ class dataFileBase(object):
####################### ####################### ###############
# Number Spin Symm Number Spin Symm E_{}\n""".format(self.GetFileType().name.lower()))
for ex in self.excitations:
mystr=" {:6s}{:9s}{:10s}{:6s}{:8s}{:13s}{}\n".format(str(ex.initial.number),str(ex.initial.multiplicity),ex.initial.symetry,str(ex.final.number),str(ex.final.multiplicity),ex.final.symetry,str(ex.value))
mystr=" {:8s}{:7s}{:10s}{:8s}{:6s}{:13s}{}\n".format(str(ex.initial.number),str(ex.initial.multiplicity),ex.initial.symetry,str(ex.final.number),str(ex.final.multiplicity),ex.final.symetry,str(ex.value))
f.write(mystr)
class method:
def __init__(self,name, basis):