Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing external algo to find trigger patch #134

Merged
merged 6 commits into from
Jul 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
TjarkMiener committed Jul 2, 2024
commit 3420249676ec93cdc7c80b47e1fd8a1cbe61378f
4 changes: 2 additions & 2 deletions dl1_data_handler/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def __init__(
self.mode = mode
else:
raise ValueError(
f"Invalid mode selection '{mode}'. Valid options: " "'mono', 'stereo'"
f"Invalid mode selection '{mode}'. Valid options: 'mono', 'stereo'"
)

if subarray_info is None:
Expand Down Expand Up @@ -1849,7 +1849,7 @@ def __getitem__(self, idx):
index, tel_id = identifiers[1:3]

trg_pixel_id, trg_waveform_sample_id = None, None
if self.trigger_settings is not None and self.get_trigger_patch == "file"
if self.trigger_settings is not None and self.get_trigger_patch == "file":
trg_pixel_id, trg_waveform_sample_id = identifiers[-2:]

example = []
Expand Down