10
0
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:
Mickaël Véril 2019-12-03 11:32:14 +01:00
parent 361639edb6
commit 441117fbab

View File

@ -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