Skip to content

Commit

Permalink
minor bugs caught duiring review
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Jul 29, 2024
1 parent 24edb62 commit 7e5cab5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/minifollowups/pycbc_sngl_minifollowup
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import pycbc.workflow.minifollowups as mini
import pycbc.workflow as wf
import pycbc.events
from pycbc.workflow.core import resolve_url_to_file
from pycbc.events import stat, veto, coinc
from pycbc.events import stat, veto
from pycbc.io import hdf

parser = argparse.ArgumentParser(description=__doc__[1:])
Expand Down Expand Up @@ -176,7 +176,7 @@ if args.veto_file:
logging.info('Getting file vetoes')
# veto_mask is an array of indices into the trigger arrays
# giving the surviving triggers
veto_file_idx, _ = events.veto.indices_within_segments(
veto_file_idx, _ = pycbc.events.veto.indices_within_segments(
trigs.end_time,
[args.veto_file],
ifo=args.instrument,
Expand Down
1 change: 0 additions & 1 deletion pycbc/results/followup.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def trigger_timeseries_plot(file_list, ifos, start, end):
trigs = columns_from_file_list(file_list,
['snr', 'end_time'],
ifo, start, end)
print(trigs)
pylab.scatter(trigs['end_time'], trigs['snr'], label=ifo,
color=ifo_color[ifo])

Expand Down

0 comments on commit 7e5cab5

Please sign in to comment.