From 91fb3e34fb1cde8f1ef5b49cc360159391829dbf Mon Sep 17 00:00:00 2001 From: edoapra Date: Tue, 14 Apr 2020 15:49:56 -0700 Subject: [PATCH] workaround since NWChemError is not working after python3 updates --- contrib/python/nwgeom.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/python/nwgeom.py b/contrib/python/nwgeom.py index 8f000c388a..469e69cd01 100644 --- a/contrib/python/nwgeom.py +++ b/contrib/python/nwgeom.py @@ -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')