Skip to content

Commit

Permalink
Gareth's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
titodalcanton committed Aug 7, 2023
1 parent fdf3297 commit ac61cdf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/live/pycbc_live_combine_single_fits
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ fout['fits_dates'] = ad + start_time_n

for ifo in args.ifos:
logging.info(ifo)
fout.create_group(ifo)
fout_ifo = fout[ifo]
fout_ifo = fout.create_group(ifo)
l_times = np.array(live_times[ifo])
fout_ifo.attrs['live_time'] = l_times.sum()

Expand Down

0 comments on commit ac61cdf

Please sign in to comment.