Skip to content

Commit 2524467

Browse files
committed
splitting debug
1 parent 6eaa181 commit 2524467

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pynta/postprocessing.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,11 @@ def __init__(self,
665665
if mol:
666666
self.mol = mol
667667
else:
668-
self.mol = split_adsorbed_structures(admol)[0]
668+
try:
669+
self.mol = split_adsorbed_structures(admol)[0]
670+
except Exception as e:
671+
logging.error(admol.to_adjacency_list())
672+
raise e
669673
self.vibdata = vibdata
670674
self.metal = metal
671675
self.facet = facet

0 commit comments

Comments
 (0)