Skip to content

Commit b127396

Browse files
committed
chore: revert try except block
1 parent 0f3f789 commit b127396

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/diffpy/srmise/applications/extract.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,12 @@ def main():
483483

484484
bl = NanoSpherical()
485485
options.baseline = parsepars(bl, options.bspherical)
486-
try:
487-
options.baseline = eval("baselines." + options.baseline)
488-
except Exception as err:
489-
print(err)
490-
print("Could not create baseline '%s'. Exiting." % options.baseline)
491-
return
486+
try:
487+
options.baseline = eval("baselines." + options.baseline)
488+
except Exception as err:
489+
print(err)
490+
print("Could not create baseline '%s'. Exiting." % options.baseline)
491+
return
492492

493493
filename = args[0]
494494

0 commit comments

Comments
 (0)