workaround since NWChemError is not working after python3 updates

This commit is contained in:
edoapra 2020-04-14 15:49:56 -07:00
parent cc7160b90c
commit 91fb3e34fb
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0

View file

@ -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')