Skip to content

Commit

Permalink
TST: actually exit h5 script when say we will
Browse files Browse the repository at this point in the history
  • Loading branch information
nstelter-slac committed Aug 27, 2024
1 parent 3e94f02 commit 57766a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions suite_scripts/AnalyzeH5.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def identifyAnalysis(self):
except Exception as e:
print(f"failed to decode metadata value for key 'analysis': {e}")
print("exiting...")
exit(1)

self.analysis = self.h5Files[0]["analysis"][()].decode(encoding)
self.sliceCoordinates = self.h5Files[0]["sliceCoordinates"][()]
Expand Down

0 comments on commit 57766a9

Please sign in to comment.