Skip to content

Commit f654ebc

Browse files
YoniYoni
authored andcommitted
Bug fix for atypical symmetrized geometry specs
1 parent 8baaa39 commit f654ebc

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

exatomic/molcas/output.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,10 @@ def parse_atom(self):
272272
if allatom.shape[0] > self.atom.shape[0]:
273273
self.atom = allatom
274274
self.meta['symmetrized'] = True
275-
self.atom['utag'] = _add_unique_tags(self.atom)
275+
try:
276+
self.atom['utag'] = _add_unique_tags(self.atom)
277+
except ValueError:
278+
pass
276279

277280

278281
def parse_basis_set_order(self):
@@ -464,7 +467,10 @@ def parse_atom(self):
464467
expand=True)
465468
self.atom['tag'] = self.atom['tag'].str.strip()
466469
self.atom['symop'] = self.atom['symop'].str.strip()
467-
self.atom['utag'] = _add_unique_tags(self.atom)
470+
try:
471+
self.atom['utag'] = _add_unique_tags(self.atom)
472+
except ValueError:
473+
pass
468474

469475

470476
def parse_basis_set_order(self):

0 commit comments

Comments
 (0)