From a7a73be06a2551f623ad5b79dc05bd5eaea2890e Mon Sep 17 00:00:00 2001 From: Kipp Cannon <kipp.cannon@ligo.org> Date: Fri, 19 Jul 2019 13:39:23 +0900 Subject: [PATCH] sngltriggertable.c: remove references to EventIDColumn - I don't know why this was put in, but the SnglBurstTable row type does not have an EventIDColumn structure in it, it has a normal long int. there is a patch waiting to be merged into lalsuite that removes this structure declaration from lalmetaio's header files altogether which will break this code. --- gstlal-burst/python/fxtools/sngltriggertable.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gstlal-burst/python/fxtools/sngltriggertable.c b/gstlal-burst/python/fxtools/sngltriggertable.c index 8b862d5c4b..d087bc89cd 100644 --- a/gstlal-burst/python/fxtools/sngltriggertable.c +++ b/gstlal-burst/python/fxtools/sngltriggertable.c @@ -52,8 +52,6 @@ typedef struct { PyObject_HEAD SnglTriggerTable row; COMPLEX8TimeSeries *snr; - /* FIXME: this should be incorporated into the LAL structure */ - EventIDColumn event_id; } gstlal_GSTLALSnglTrigger; @@ -185,11 +183,6 @@ static PyObject *__new__(PyTypeObject *type, PyObject *args, PyObject *kwds) if(!new) return NULL; - /* link the event_id pointer in the sngl_trigger row structure - * to the event_id structure */ - //new->row.event_id = &new->event_id; - //new->event_id.id = 0; - /* done */ return (PyObject *) new; } @@ -234,8 +227,6 @@ static PyObject *from_buffer(PyObject *cls, PyObject *args) return NULL; } ((gstlal_GSTLALSnglTrigger*)item)->row = gstlal_sngltrigger->parent; - /* repoint event_id to event_id structure */ - //((gstlal_GSTLALSnglTrigger*)item)->row.event_id = &((gstlal_GSTLALSnglTrigger*)item)->event_id; /* duplicate the SNR time series */ if(gstlal_sngltrigger->length) { -- GitLab