diff --git a/gstlal/python/segments.py b/gstlal/python/segments.py index c4632332e0a8cec85187d95c8bd9e9f827649c27..7c733dd7588293bf6db0e3eb6b6092d4c6012182 100644 --- a/gstlal/python/segments.py +++ b/gstlal/python/segments.py @@ -115,7 +115,6 @@ def query_dqsegdb_veto_segments( segmentlistdict, the queried veto segments """ - span = segments.segment(LIGOTimeGPS(start), LIGOTimeGPS(end)) if isinstance(instruments, str): instruments = [instruments] @@ -312,7 +311,7 @@ def split_segments_by_lock( seglistdicts: segments.segmentlistdict, boundary_seg: segments.segment, max_time: float = 10 * 24 * 3600., -) -> segments.segmentlistdict: +) -> segments.segmentlist: """Split segments into segments with maximum time and boundaries outside of lock stretches. """