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

inspiral.py: gracedb is required

- can rely on gracedb module import to work
parent 394c7244
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,6 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
python-ligo-gracedb (>= 1.11),
python-numpy,
python-scipy
Recommends:
ligo-gracedb
Description: GStreamer for GW data analysis (inspiral parts)
This package provides a variety of gstreamer elements for
gravitational-wave data analysis and some libraries to help write such
......
......@@ -74,11 +74,6 @@ from gi.repository import GObject, Gst
GObject.threads_init()
Gst.init(None)
try:
from ligo import gracedb
except ImportError:
print >>sys.stderr, "warning: gracedb import failed, program will crash if gracedb uploads are attempted"
from glue import iterutils
from glue import segments
from glue import segmentsUtils
......@@ -99,6 +94,7 @@ from lal import LIGOTimeGPS
from lal import rate
from lal import series as lalseries
from lal.utils import CacheEntry
from ligo import gracedb
from gstlal import bottle
from gstlal import cbc_template_iir
......
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