Commit 6a7be0ed authored by Kipp Cannon's avatar Kipp Cannon

simulation.sim_inspiral_to_segment_list():

- don't use obsolete .get_*() methods
parent 1c71d30e
Pipeline #49168 failed with stages
in 8 minutes and 14 seconds
......@@ -71,8 +71,8 @@ def sim_inspiral_to_segment_list(fname, pad=1, verbose=False):
# extract the padded geocentric end times into segment lists
for row in lsctables.SimInspiralTable.get_table(xmldoc):
t = LIGOTimeGPS(row.get_time_geocent())
seglist.append(segments.segment(LIGOTimeGPS(int(math.floor(t-pad))), LIGOTimeGPS(int(math.ceil(t+pad)))))
t = row.time_geocent
seglist.append(segments.segment(LIGOTimeGPS(math.floor(t-pad)), LIGOTimeGPS(math.ceil(t+pad))))
# help the garbage collector
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment