mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-24 13:23:40 +01:00
Change correction to corrected
This commit is contained in:
parent
8665b7f52a
commit
1a61c2c6a7
@ -76,10 +76,10 @@ class excitationBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
class excitationValue extends excitationBase {
|
class excitationValue extends excitationBase {
|
||||||
constructor(initial, final, value,correction=null) {
|
constructor(initial, final, value,corrected=null) {
|
||||||
super(initial, final)
|
super(initial, final)
|
||||||
this.value = value
|
this.value = value
|
||||||
this.correction = correction
|
this.corrected = corrected
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ class dataFileBase(object):
|
|||||||
####################### ####################### #################
|
####################### ####################### #################
|
||||||
# Number Spin Symm Number Spin Symm E_{:5s} Corr\n""".format(self.GetFileType().name.lower()))
|
# Number Spin Symm Number Spin Symm E_{:5s} Corr\n""".format(self.GetFileType().name.lower()))
|
||||||
for ex in self.excitations:
|
for ex in self.excitations:
|
||||||
mystr=" {:8s}{:7s}{:10s}{:8s}{:6s}{:13s}{:8s}{}\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) if ex.value is not None else "_",str(ex.Correction) if ex.Correction is not None else "_")
|
mystr=" {:8s}{:7s}{:10s}{:8s}{:6s}{:13s}{:8s}{}\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) if ex.value is not None else "_",str(ex.corrected) if ex.corrected is not None else "_")
|
||||||
f.write(mystr)
|
f.write(mystr)
|
||||||
class method:
|
class method:
|
||||||
def __init__(self,name, *args):
|
def __init__(self,name, *args):
|
||||||
@ -238,4 +238,4 @@ class excitationValue(excitationBase):
|
|||||||
def __init__(self,initial, final, value,*args):
|
def __init__(self,initial, final, value,*args):
|
||||||
super(excitationValue,self).__init__(initial, final)
|
super(excitationValue,self).__init__(initial, final)
|
||||||
self.value = value
|
self.value = value
|
||||||
self.Correction=args[0] if len(args)>0 else None
|
self.corrected=args[0] if len(args)>0 else None
|
Loading…
Reference in New Issue
Block a user