Skip to content

Commit

Permalink
make table name lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
ggmarshall committed Feb 6, 2025
1 parent afac78c commit cbb29c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/src/legenddataflow/scripts/table_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@


def get_table_name(metadata_path, timestamp, datatype, detector):
meta = LegendMetadata(path=metadata_path)
meta = LegendMetadata(path=metadata_path, lazy=True)
channel_dict = meta.channelmap(timestamp, system=datatype)
return f"ch{channel_dict[detector].daq.rawid:07}"

0 comments on commit cbb29c8

Please sign in to comment.