Skip to content
Snippets Groups Projects
Commit 432a832c authored by Patrick Godwin's avatar Patrick Godwin Committed by 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 fab532a7
No related branches found
No related tags found
1 merge request!122Assorted fixes
Pipeline #315957 passed
......@@ -113,7 +113,6 @@ def query_dqsegdb_veto_segments(
segmentlistdict, the queried veto segments
"""
span = segments.segment(LIGOTimeGPS(start), LIGOTimeGPS(end))
if isinstance(instruments, str):
instruments = [instruments]
......@@ -310,7 +309,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