10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 05:03:53 +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) => {
var params = molstr.split("\n")[1].split(",")
var regex=/^\^(\d+)(.+)$/
var m=params[0].match(regex)
var m=params[1].match(regex)
return {
name: this.molecule,
multiplicity:m[1],