mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-25 13:41:50 +02:00
Fix bug when %T1 or f exist and not energy value
This commit is contained in:
parent
f8223b1ea2
commit
3630dd8ec9
@ -112,7 +112,7 @@ class fromXLSToLaTeXHandler(formatHandlerBase):
|
||||
st=state(stDict["number"],stDict["multiplicity"],stDict["symetry"])
|
||||
T1=values["\\%T_1"] if "\\%T_1" in values else None
|
||||
oF= values["f"] if "f" in values else None
|
||||
val,unsafe=values[""]
|
||||
val,unsafe= values[""] if "" in values else [None,False]
|
||||
data.excitations.append(excitationValue(initialState,st,val,type=ty,T1=T1,isUnsafe=unsafe,oscilatorForces=oF))
|
||||
datalist.append(data)
|
||||
return datalist
|
Loading…
Reference in New Issue
Block a user