mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
workaround since NWChemError is not working after python3 updates
This commit is contained in:
parent
cc7160b90c
commit
91fb3e34fb
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ def geom_get_coords(name):
|
|||
#
|
||||
try:
|
||||
actualname = rtdb_get(name)
|
||||
if (actualname == None):
|
||||
actualname = name
|
||||
except NWChemError:
|
||||
actualname = name
|
||||
coords = rtdb_get('geometry:' + str(actualname) + ':coords')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue