mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Fix fluorescence support for fromXLSToLaTeX format
This commit is contained in:
parent
6871e0f2e5
commit
d685bee542
@ -21,8 +21,12 @@ def GetTypeFromAcronym(acronym):
|
|||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
raise ValueError("acronym not recognised")
|
raise ValueError("acronym not recognised")
|
||||||
def GetFullState(TexState,datatype=DataType.ABS,VR=None,typeAcronym=None,Soup=True):
|
def GetFullState(TexState,defaultDatatype=DataType.ABS,VR=None,typeAcronym=None,Soup=True):
|
||||||
statemath=str(extractMath(TexState))
|
datatype=defaultDatatype
|
||||||
|
lst=list(TexState)
|
||||||
|
if len(lst)>1 and lst[1].value=="F":
|
||||||
|
datatype=DataType.FLUO
|
||||||
|
statemath=str(list(lst[0].contents)[0])
|
||||||
resultstr=statemath
|
resultstr=statemath
|
||||||
fulltype=[]
|
fulltype=[]
|
||||||
if datatype==DataType.FLUO:
|
if datatype==DataType.FLUO:
|
||||||
|
Loading…
Reference in New Issue
Block a user