Skip to content

Commit

Permalink
ValueError --> RuntimeError
Browse files Browse the repository at this point in the history
  • Loading branch information
pannarale committed Dec 16, 2024
1 parent 1ad4af9 commit 3b3e2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycbc/workflow/matched_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def setup_matchedfltr_dax_generated_multi(workflow, science_segs, datafind_outs,
elif m_sg > 1:
msg = f'{datafind_outs} has {n_sg} sky-grid files, '
msg += 'instead of only one.'
raise ValueError(msg)
raise RuntimeError(msg)
# Code lines for Fermi GBM are commented out for the time being
# from pycbc.workflow.grb_utils import get_sky_grid_scale
# if cp.has_option("jitter_skyloc", "apply-fermi-error"):
Expand Down

0 comments on commit 3b3e2ad

Please sign in to comment.