Skip to content

Commit

Permalink
Update export_tools.py
Browse files Browse the repository at this point in the history
Run should still export even if there is no saved exposure time
  • Loading branch information
cjtitus authored Nov 1, 2024
1 parent 14fd55a commit d52496e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions export_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def get_run_data(run):
["nexafs_i0up", "data", "nexafs_i0up_exposure_time"],
["nexafs_i1", "data", "nexafs_i0up_exposure_time"],
["nexafs_sc", "data", "ucal_sc_exposure_time"])
if exposure is None:
exposure = 0
exposure = float(exposure)
columns = []
datadict = {}
Expand Down

0 comments on commit d52496e

Please sign in to comment.