10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-26 06:14:38 +01:00

Update index for symmetry in geometry parser

This commit is contained in:
Mickaël Véril 2020-09-27 17:11:10 +02:00
parent 503c18fd32
commit 21ff5e0129

View File

@ -246,7 +246,7 @@ class dataFileBase {
return molsstr.map((molstr) => { return molsstr.map((molstr) => {
var params = molstr.split("\n")[1].split(",") var params = molstr.split("\n")[1].split(",")
var regex=/^\^(\d+)(.+)$/ var regex=/^\^(\d+)(.+)$/
var m=params[0].match(regex) var m=params[1].match(regex)
return { return {
name: this.molecule, name: this.molecule,
multiplicity:m[1], multiplicity:m[1],