Skip to content

Commit

Permalink
don't add field if not found in epics archiver
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Mar 3, 2025
1 parent 4b51a5d commit 037dfb3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sed/loader/mpes/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def fetch_epics_metadata(self, ts_from: float, ts_to: float, metadata: dict) ->
metadata["file"][f"{channel}"] = np.mean(vals)

except IndexError:
metadata["file"][f"{channel}"] = np.nan
logger.info(
f"Data for channel {channel} doesn't exist for time {start}",
)
Expand Down

0 comments on commit 037dfb3

Please sign in to comment.