Skip to content

Commit

Permalink
Merge pull request #220 from icecube/fix219
Browse files Browse the repository at this point in the history
Fix 219
  • Loading branch information
tomaskontrimas authored Mar 12, 2024
2 parents 633a234 + f8e4ea6 commit c902dd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skyllh/core/signal_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,8 @@ def _draw_valid_sig_events_for_dataset_and_shg(
)
m = (events_meta['ds_idx'] == ds_idx) &\
(events_meta['shg_idx'] == shg_idx)
events = mc[events_meta['ev_idx'][m]]
events_meta = events_meta[m]
events = mc[events_meta['ev_idx']]
if len(events) > 0:
events = shg.sig_gen_method.\
signal_event_post_sampling_processing(
Expand Down

0 comments on commit c902dd6

Please sign in to comment.