Skip to content

Commit

Permalink
Adding warning for no injections
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleyna Akyuz authored and Aleyna Akyuz committed Oct 21, 2024
1 parent 32030e0 commit 041599c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pycbc/strain/strain.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ def from_cli(opt, dyn_range_fac=1, precision='single',
distance_scale=opt.injection_scale_factor,
injection_sample_rate=opt.injection_sample_rate,
inj_filter_rejector=inj_filter_rejector)
else:
logger.warning("No injections applied.")

if opt.sgburst_injection_file:
logger.info("Applying sine-Gaussian burst injections")
Expand Down

0 comments on commit 041599c

Please sign in to comment.