10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Add missing acronym CT

This commit is contained in:
Mickaël Véril 2020-11-09 10:12:28 +01:00
parent 1f62b3f740
commit a42b85d6fa

View File

@ -16,12 +16,13 @@ def GetTypeFromAcronym(acronym):
"p3s":r"\pi \rightarrow 3s",
"p3p":r"\pi \rightarrow 3p",
"spi":r"\sigma \rightarrow \pi^\star",
"CT":None,
"non-d":None
}
try:
return acroDict[acronym]
except KeyError as ex:
raise ValueError("Unrecognized acronym") from ex
raise ValueError(f"Unrecognized acronym: {acronym}") from ex
def GetFullState(TexState,defaultDatatype=DataType.ABS,VR=None,typeAcronym=None,Soup=True):
datatype=defaultDatatype
lst=list(TexState)