Skip to content
Snippets Groups Projects
Commit 21507c5d authored by Patrick Godwin's avatar Patrick Godwin
Browse files

segments.py: fix type annotation return in split_srgments_by_lock, remove...

segments.py: fix type annotation return in split_srgments_by_lock, remove unused variable in query_dqsegdb_veto_segments
parent 26d911b8
No related branches found
No related tags found
No related merge requests found
Pipeline #312980 passed
......@@ -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.
"""
......
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