Skip to content

Commit 099db38

Browse files
committed
Fix typo.
1 parent 5db2bc8 commit 099db38

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/BioSimSpace/Sandpit/Exscientia/_SireWrappers/_system.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ def getCoordinates(self, is_lambda1=False, property_map={}):
12541254
# Try to get the coordinates array.
12551255
try:
12561256
coords = _sr.io.get_coords_array(mols, map=property_map)
1257-
except exception as e:
1257+
except Exception as e:
12581258
msg = "Failed to extract coordinates from system!"
12591259
if _isVerbose():
12601260
raise RuntimeError(msg) from e
@@ -1314,7 +1314,7 @@ def setCoordinates(
13141314
is_lambda1,
13151315
map=property_map,
13161316
)
1317-
except exception as e:
1317+
except Exception as e:
13181318
msg = "Failed to set coordinates in system!"
13191319
if _isVerbose():
13201320
raise RuntimeError(msg) from e

python/BioSimSpace/_SireWrappers/_system.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ def getCoordinates(self, is_lambda1=False, property_map={}):
12021202
# Try to get the coordinates array.
12031203
try:
12041204
coords = _sr.io.get_coords_array(mols, map=property_map)
1205-
except exception as e:
1205+
except Exception as e:
12061206
msg = "Failed to extract coordinates from system!"
12071207
if _isVerbose():
12081208
raise RuntimeError(msg) from e
@@ -1262,7 +1262,7 @@ def setCoordinates(
12621262
is_lambda1,
12631263
map=property_map,
12641264
)
1265-
except exception as e:
1265+
except Exception as e:
12661266
msg = "Failed to set coordinates in system!"
12671267
if _isVerbose():
12681268
raise RuntimeError(msg) from e

0 commit comments

Comments
 (0)