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:
parent
503c18fd32
commit
21ff5e0129
@ -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],
|
||||||
|
Loading…
Reference in New Issue
Block a user