From 2cdcf6f0762409766015b52b63f5e64d76b438fb Mon Sep 17 00:00:00 2001 From: Kipp Cannon <kipp.cannon@ligo.org> Date: Sat, 18 Nov 2017 05:12:28 -0600 Subject: [PATCH] inspinjfind: remove reference to search_summary table --- lalinspiral/python/lalinspiral/inspinjfind.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lalinspiral/python/lalinspiral/inspinjfind.py b/lalinspiral/python/lalinspiral/inspinjfind.py index c89a7c16f6..8a32ef41a8 100644 --- a/lalinspiral/python/lalinspiral/inspinjfind.py +++ b/lalinspiral/python/lalinspiral/inspinjfind.py @@ -122,14 +122,6 @@ class DocContents(object): self.offsetvectors = lsctables.TimeSlideTable.get_table(xmldoc).as_dict() - # - # get out segment lists for programs that generated - # triggers (currently only used for time_slide vector - # construction) - # - - seglists = lsctables.SearchSummaryTable.get_table(xmldoc).get_out_segmentlistdict(set(self.snglinspiraltable.getColumnByName("process_id"))).coalesce() - # # construct the zero-lag time slide needed to cover the # instruments listed in all the triggers, then determine @@ -139,7 +131,7 @@ class DocContents(object): # indicate time slide at which the injection was done # - self.tisi_id = ligolw_time_slide.get_time_slide_id(xmldoc, {}.fromkeys(seglists, 0.0), create_new = process) + self.tisi_id = ligolw_time_slide.get_time_slide_id(xmldoc, {}.fromkeys(self.snglinspiraltable.getColumnByName("ifo"), 0.0), create_new = process, superset_ok = True, nonunique_ok = True) # # get coinc_definer row for sim_inspiral <--> sngl_inspiral -- GitLab