Skip to content

Commit

Permalink
No f-string in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pannarale committed Nov 11, 2024
1 parent 8271be9 commit 0d2974e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycbc/results/pygrb_postprocessing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ def _load_triggers(input_file, ifos, data_tag=None, rw_snr_threshold=None,
# Output the number of items loaded only upon a request by the user who
# should not use data_tag='trigs'or 'injs' when processing the onsource
if data_tag=='trigs':
logging.info(f"{len(rw_snr)} triggers loaded.")
logging.info("%d triggers loaded.", len(rw_snr))
elif data_tag=='injs':
logging.info(f"{len(rw_snr)} injections loaded.")
logging.info("%d injections loaded.", len(rw_snr))
ifo_ids = {}
for ifo in ifos:
ifo_ids[ifo] = trigs[ifo+'/event_id'][:]
Expand Down

0 comments on commit 0d2974e

Please sign in to comment.