Skip to content
Snippets Groups Projects
Commit d5658cea authored by Kipp Cannon's avatar Kipp Cannon
Browse files

streamthinca / lloidhandler: detangle trigger class import

- there was a time when streamthinca needed to define a special class to be
  used for triggers to allow the coincidence algorithm to work, and so it
  made sense for the definition to live in streamthinca where the
  requirements were defined.  today no special class is required, the
  underlying trigger class is simply used as-is, but code like lloidhandler
  is still importing the symbol from streamthinca instead of importing it
  themselves directly.  this patch untangles this now gratuituous
  interdependency.
parent 332c8303
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,7 @@ from gstlal import inspiral
from gstlal import pipeio
from gstlal import simplehandler
from gstlal import streamthinca
from gstlal.snglinspiraltable import GSTLALSnglInspiral as SnglInspiral
import lal
from lal import LIGOTimeGPS
from lal import rate
......@@ -970,7 +971,7 @@ class Handler(simplehandler.Handler):
# FIXME why does mapinfo.data come out as
# an empty list on some occasions???
if mapinfo.data:
events.extend(streamthinca.SnglInspiral.from_buffer(mapinfo.data))
events.extend(SnglInspiral.from_buffer(mapinfo.data))
memory.unmap(mapinfo)
# FIXME: ugly way to get the instrument
......
......@@ -46,7 +46,6 @@ import time
from ligo.lw import ligolw
from ligo.lw import lsctables
from gstlal.snglinspiraltable import GSTLALSnglInspiral as SnglInspiral
import lal
from lalburst import snglcoinc
from lalinspiral import thinca
......
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