Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
titodalcanton committed Sep 12, 2023
1 parent 745d9a3 commit 0c8f5ef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bin/live/pycbc_live_combine_single_fits
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ alphas_all = {ifo: [] for ifo in args.ifos}
analysis_dates = []

with h5py.File(args.trfits_files[0], 'r') as fit_f0:
# Store some attributes so we can check that all files are
# comparable
# Store some attributes so we can check that all files are comparable

# Keep the upper and lower bins
bl = fit_f0['bins_lower'][:]
Expand All @@ -66,8 +65,7 @@ live_times = {ifo: [] for ifo in args.ifos}
trigger_file_starts = []
trigger_file_ends = []

n_files = len(args.trfits_files)
logging.info("Checking through %d files", n_files)
logging.info("Checking through %d files", len(args.trfits_files))

for f in args.trfits_files:
fits_f = h5py.File(f, 'r')
Expand Down

0 comments on commit 0c8f5ef

Please sign in to comment.