Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Coleman committed Jan 26, 2024
1 parent eb9a237 commit 34dba92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NuRadioReco/framework/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def deserialize(triggers_pkl):
trigger = EnvelopePhasedTrigger(None, None, None, None)
elif(trigger_type == 'rnog_surface_trigger'):
trigger = RNOGSurfaceTrigger(None, None, None, None)
elif(trigger_type == 'gru_time_over_threshold'):
trigger = GruTimeOverThresholdTrigger(None, None, None)
elif(trigger_type == 'time_over_threshold'):
trigger = TimeOverThresholdTrigger(None, None, None)
else:
raise ValueError("unknown trigger type")
raise ValueError("unknown trigger type: " + trigger_type)
trigger.deserialize(data_pkl)
triggers[trigger.get_name()] = trigger
return triggers
Expand Down

0 comments on commit 34dba92

Please sign in to comment.