Skip to content
Snippets Groups Projects
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
No related branches found
Tags gstlal-ugly-1.6.5-v1
No related merge requests found
Pipeline #71341 passed with warnings
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment