Skip to content

Commit

Permalink
don't add entries 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 5a8fe95 commit 5bde7dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/specsscan/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def fetch_epics_metadata(self, ts_from: float, ts_to: float, metadata: dict) ->
metadata["scan_info"][f"{channel}"] = np.mean(vals)

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

0 comments on commit 5bde7dc

Please sign in to comment.