mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Fix value instead of Value
This commit is contained in:
parent
ac200b8b58
commit
ef60928c4f
@ -120,20 +120,20 @@ class excitationBase {
|
|||||||
const [initialt, finalt] = ty.split(arrow, 2)
|
const [initialt, finalt] = ty.split(arrow, 2)
|
||||||
const initialts = initialt.split(",")
|
const initialts = initialt.split(",")
|
||||||
if (initialts.length==2||initialts.length==2){
|
if (initialts.length==2||initialts.length==2){
|
||||||
this.type.value = this.type | excitationTypes.Singulet
|
this.type.Value = this.type | excitationTypes.Singulet
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
this.type.value = this.type | excitationTypes.Doublet
|
this.type.Value = this.type | excitationTypes.Doublet
|
||||||
}
|
}
|
||||||
const finalts = finalt.split(",").map(x => x.trim())
|
const finalts = finalt.split(",").map(x => x.trim())
|
||||||
if (initialts.includes("n") && finalts.includes(String.raw`\pi^\star`)) {
|
if (initialts.includes("n") && finalts.includes(String.raw`\pi^\star`)) {
|
||||||
this.type.value = this.type | excitationTypes.PiPis
|
this.type.Value = this.type | excitationTypes.PiPis
|
||||||
} else if (initialts.includes(String.raw`\pi`) in initialts && finals.includes(String.raw`\pi^\star`)) {
|
} else if (initialts.includes(String.raw`\pi`) in initialts && finals.includes(String.raw`\pi^\star`)) {
|
||||||
this.type.value = this.type | excitationTypes.PiPis
|
this.type.Value = this.type | excitationTypes.PiPis
|
||||||
} else if (ty.includes(String.raw`\pi^\star`)) {
|
} else if (ty.includes(String.raw`\pi^\star`)) {
|
||||||
this.type.value = this.type | excitationTypes.RYDBERG
|
this.type.Value = this.type | excitationTypes.RYDBERG
|
||||||
} else if (ty.includes(String.raw`\mathrm{V}`)) {
|
} else if (ty.includes(String.raw`\mathrm{V}`)) {
|
||||||
this.type.value = this.type | excitationTypes.VALENCE
|
this.type.Value = this.type | excitationTypes.VALENCE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user