mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-26 22:33:56 +01:00
Fix multiplicity is int
This commit is contained in:
parent
a10607bc54
commit
8c1b5b541c
@ -4,7 +4,7 @@ if (!Geometry.prototype.parseMetadata) {
|
|||||||
const molecule = Ametadata[0]
|
const molecule = Ametadata[0]
|
||||||
const stateRegExp = /^\^(\d+)(.+)$/
|
const stateRegExp = /^\^(\d+)(.+)$/
|
||||||
const m = Ametadata[1].match(stateRegExp)
|
const m = Ametadata[1].match(stateRegExp)
|
||||||
const mul = m[1]
|
const mul = parseInt(m[1],10)
|
||||||
const sym = m[2]
|
const sym = m[2]
|
||||||
var meth = null
|
var meth = null
|
||||||
if (Ametadata.length>2) {
|
if (Ametadata.length>2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user