mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01: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)) {
|
if (ty.include(arrow)) {
|
||||||
initial, final = ty.split(arrow, 2)
|
initial, final = ty.split(arrow, 2)
|
||||||
initials = initial.split(",")
|
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())
|
finals = final.split(",").map(x => x.strip())
|
||||||
if (initials.include("n") && finals.include(String.raw('\pis'))) {
|
if (initials.include("n") && finals.include(String.raw('\pis'))) {
|
||||||
trty = trty | excitationType.PiPis
|
trty = trty | excitationType.PiPis
|
||||||
|
Loading…
Reference in New Issue
Block a user