mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-26 14:11:51 +02:00
Add singulet doublet value for type
This commit is contained in:
parent
361639edb6
commit
441117fbab
@ -88,6 +88,12 @@ class excitationBase {
|
||||
if (ty.include(arrow)) {
|
||||
initial, final = ty.split(arrow, 2)
|
||||
initials = initial.split(",")
|
||||
if (initials.length==2||initials.length==2){
|
||||
trty = trty| excitationType.Singulet
|
||||
}
|
||||
else{
|
||||
trty = trty | excitationType.Doublet
|
||||
}
|
||||
finals = final.split(",").map(x => x.strip())
|
||||
if (initials.include("n") && finals.include(String.raw('\pis'))) {
|
||||
trty = trty | excitationType.PiPis
|
||||
|
Loading…
Reference in New Issue
Block a user