Commit 885930a0 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

gstlal_feature_combiner: use ligo.segment infinity to avoid lal issues with filtering cache entries

parent 092807f2
Pipeline #71341 passed with stages
in 26 minutes and 28 seconds
......@@ -36,7 +36,7 @@ import shutil
import h5py
import numpy
from ligo.segments import segment, segmentlist
from ligo.segments import infinity, segment, segmentlist
from gstlal import aggregator
from gstlal.fxtools import utils
......@@ -88,8 +88,8 @@ if __name__ == "__main__":
)
### define gps bounds to grab features
start_time = options.start_time if options.start_time else -numpy.inf
end_time = options.end_time if options.end_time else numpy.inf
start_time = options.start_time if options.start_time else -infinity()
end_time = options.end_time if options.end_time else infinity()
file_segs = segmentlist([segment(start_time, end_time)])
### get base temp directory
......
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