mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-25 05:31:51 +02:00
Add missing acronym CT
This commit is contained in:
parent
1f62b3f740
commit
a42b85d6fa
@ -16,12 +16,13 @@ def GetTypeFromAcronym(acronym):
|
|||||||
"p3s":r"\pi \rightarrow 3s",
|
"p3s":r"\pi \rightarrow 3s",
|
||||||
"p3p":r"\pi \rightarrow 3p",
|
"p3p":r"\pi \rightarrow 3p",
|
||||||
"spi":r"\sigma \rightarrow \pi^\star",
|
"spi":r"\sigma \rightarrow \pi^\star",
|
||||||
|
"CT":None,
|
||||||
"non-d":None
|
"non-d":None
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
return acroDict[acronym]
|
return acroDict[acronym]
|
||||||
except KeyError as ex:
|
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):
|
def GetFullState(TexState,defaultDatatype=DataType.ABS,VR=None,typeAcronym=None,Soup=True):
|
||||||
datatype=defaultDatatype
|
datatype=defaultDatatype
|
||||||
lst=list(TexState)
|
lst=list(TexState)
|
||||||
|
Loading…
Reference in New Issue
Block a user