10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-22 18:57:38 +02:00

Fix multiplicity is int

This commit is contained in:
Mickaël Véril 2020-09-30 14:09:44 +02:00
parent a10607bc54
commit 8c1b5b541c

View File

@ -4,7 +4,7 @@ if (!Geometry.prototype.parseMetadata) {
const molecule = Ametadata[0]
const stateRegExp = /^\^(\d+)(.+)$/
const m = Ametadata[1].match(stateRegExp)
const mul = m[1]
const mul = parseInt(m[1],10)
const sym = m[2]
var meth = null
if (Ametadata.length>2) {