Commit 594c1b2b authored by Kipp Cannon's avatar Kipp Cannon
Browse files

lal.cache: remove fall-back to glue

- ligo.lw is now a dependency, guaranteed available
parent 06a249a1
Pipeline #165938 passed with stages
in 141 minutes and 19 seconds
......@@ -317,12 +317,7 @@ class CacheEntry(object):
# the import has to be done here to break the cyclic
# dependancy
from ligo.lw.lsctables import instrumentsproperty
except ImportError:
# FIXME: remove when we can rely on ligo.lw being installed
# (why isn't it!?)
from glue.ligolw.lsctables import instrumentsproperty
from ligo.lw.lsctables import instrumentsproperty
instruments = instrumentsproperty.get(self.observatory) or (None,)
return segments.segmentlistdict((instrument, segments.segmentlist(self.segment is not None and [self.segment] or [])) for instrument in instruments)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment