Commit 6c2eac8a authored by Duncan Meacher's avatar Duncan Meacher

Changed all import segments from glue to ligo

parent ff6c72a7
Pipeline #24918 passed with stages
in 5 minutes and 29 seconds
......@@ -46,7 +46,7 @@ from glue.ligolw import lsctables
from glue.ligolw import table
from glue.ligolw import ligolw
lsctables.use_in(ligolw.LIGOLWContentHandler)
from glue import segments
from ligo import segments
from glue.lal import LIGOTimeGPS
from glue.lal import Cache
......
......@@ -155,7 +155,7 @@ import lal
from lal import LIGOTimeGPS
from glue import iterutils
from glue import segments
from ligo import segments
from glue import segmentsUtils
from glue.lal import CacheEntry
from glue.ligolw import ligolw
......
......@@ -37,7 +37,7 @@ import lal.series
from lal.utils import CacheEntry
from glue import pipeline
from glue.lal import Cache
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
import glue.ligolw.utils as ligolw_utils
......
......@@ -37,7 +37,7 @@ import lal.series
from lal.utils import CacheEntry
from glue import pipeline
from glue.lal import Cache
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
import glue.ligolw.utils as ligolw_utils
......
......@@ -41,7 +41,7 @@ from gstlal import pipeparts
from gstlal import datasource
from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import segments as ligolw_segments
from glue import segments
from ligo import segments
import lal
from lal import LIGOTimeGPS
......
......@@ -51,7 +51,7 @@ from glue.ligolw.utils import segments as ligolw_segments
array.use_in(ligolw.LIGOLWContentHandler)
param.use_in(ligolw.LIGOLWContentHandler)
from glue.ligolw import utils
from glue import segments
from ligo import segments
def write_graph(demux):
pipeparts.write_dump_dot(pipeline, "%s.%s" % (options.write_pipeline, "PLAYING"), verbose = True)
......
......@@ -50,7 +50,7 @@ from glue.ligolw.utils import segments as ligolw_segments
array.use_in(ligolw.LIGOLWContentHandler)
param.use_in(ligolw.LIGOLWContentHandler)
from glue.ligolw import utils
from glue import segments
from ligo import segments
#
# Function definition for writing pipeline graph
......
......@@ -76,7 +76,7 @@ from glue.ligolw.utils import segments as ligolw_segments
array.use_in(ligolw.LIGOLWContentHandler)
param.use_in(ligolw.LIGOLWContentHandler)
from glue.ligolw import utils
from glue import segments
from ligo import segments
#
# Function definition for writing pipeline graph
......
......@@ -52,7 +52,7 @@ from glue.ligolw.utils import segments as ligolw_segments
array.use_in(ligolw.LIGOLWContentHandler)
param.use_in(ligolw.LIGOLWContentHandler)
from glue.ligolw import utils
from glue import segments
from ligo import segments
import test_common
......
......@@ -82,7 +82,7 @@ pygst.require("0.10")
import gst
from gstlal import bottle
from glue import segments
from ligo import segments
from glue import segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import array as ligolw_array
......
......@@ -160,7 +160,7 @@ from lal import LIGOTimeGPS
from lal.utils import CacheEntry
from ligo.gracedb.rest import DEFAULT_SERVICE_URL as gracedb_default_service_url
from glue import segments
from ligo import segments
from glue import segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import lsctables
......
......@@ -36,7 +36,7 @@ from glue.ligolw import lsctables
from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import process as ligolw_process
from glue.ligolw.utils import segments as ligolw_segments
from glue import segments
from ligo import segments
from lalburst import calc_likelihood
from lalinspiral import thinca
from gstlal import far
......
......@@ -48,7 +48,7 @@ from glue import iterutils
from glue import pipeline
from glue import lal
from glue.ligolw import lsctables
from glue import segments
from ligo import segments
from optparse import OptionParser
def which(prog):
......
......@@ -35,7 +35,7 @@ import math
import numpy
from optparse import OptionParser
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.lal import Cache
......
......@@ -50,7 +50,7 @@ import lal
from gstlal import far
from gstlal import rate_estimation
from glue import segments
from ligo import segments
from glue.lal import CacheEntry
from glue.ligolw import ligolw
from glue.ligolw import dbtables
......
......@@ -51,7 +51,7 @@ import lal
import lal.series
from lal.utils import CacheEntry
from glue import pipeline
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
import glue.ligolw.utils as ligolw_utils
......
......@@ -44,7 +44,7 @@ from optparse import OptionParser
import sys
from glue import segments
from ligo import segments
from gstlal import far
from gstlal import plotfar
......
......@@ -35,7 +35,7 @@ import itertools
from gstlal import inspiral_pipe
from gstlal import plotutil
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import dbtables
......
......@@ -58,7 +58,7 @@ import lal
from lal.utils import CacheEntry
from glue import iterutils
from glue import segments
from ligo import segments
from glue.ligolw import dbtables
from glue.ligolw import lsctables
from glue.ligolw.utils import segments as ligolw_segments
......
......@@ -54,7 +54,7 @@ import sqlite3
import sys
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import dbtables
from glue.ligolw import lsctables
......
......@@ -30,7 +30,7 @@ from glue.ligolw import lsctables
from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import ligolw_sqlite
from glue.offsetvector import offsetvector
from glue import segments
from ligo import segments
from gstlal import inspiral
from gstlal import far
import lal
......
......@@ -33,7 +33,7 @@ from optparse import OptionParser
from glue.ligolw import lsctables
from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import process as ligolw_process
from glue import segments
from ligo import segments
from gstlal import far
from gstlal import lvalert_helper
from ligo.gracedb import rest as gracedb
......
......@@ -38,7 +38,7 @@ from gstlal import far
from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import process as ligolw_process
from glue.ligolw import ligolw
from glue import segments
from ligo import segments
from lal import LIGOTimeGPS
from optparse import OptionParser
......
......@@ -33,7 +33,7 @@ from optparse import OptionParser
# import the modules we need to build the pipeline
#
from glue import segments
from ligo import segments
from gstlal import inspiral_pipe
from gstlal import far
from lal.utils import CacheEntry
......
......@@ -66,7 +66,7 @@ import sys
import time
from glue import segments
from ligo import segments
from glue import segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import array as ligolw_array
......
......@@ -17,7 +17,7 @@
import sys
from glue.ligolw import lsctables
from glue.ligolw import dbtables
from glue import segments
from ligo import segments
from glue import segmentsUtils
from glue.ligolw import table
from lal import rate
......
......@@ -75,7 +75,7 @@ GObject.threads_init()
Gst.init(None)
from glue import iterutils
from glue import segments
from ligo import segments
from glue import segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import dbtables
......
......@@ -40,7 +40,7 @@ import math
import sys, os
import subprocess, socket, tempfile, copy, doctest
from glue import pipeline
from glue import segments
from ligo import segments
from glue.ligolw import lsctables, ligolw
from glue.ligolw import utils as ligolw_utils
from gstlal import svd_bank
......
......@@ -82,7 +82,7 @@ Gst.init(None)
from glue import iterutils
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import segments as ligolw_segments
......
......@@ -25,7 +25,7 @@ import matplotlib.pyplot as plt
import matplotlib.ticker as tkr
import numpy
from glue import segments
from ligo import segments
from glue.ligolw.ligolw import LIGOLWContentHandler
from glue.ligolw import array as ligolw_array
from glue.ligolw import lsctables
......
......@@ -43,7 +43,7 @@ import gst
from glue import iterutils
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import utils as ligolw_utils
......
......@@ -41,7 +41,7 @@ from glue.ligolw import lsctables
from glue.ligolw import array as ligolw_array
from glue.ligolw import param as ligolw_param
from glue.ligolw import utils as ligolw_utils
from glue import segments
from ligo import segments
from gstlal.stats import horizonhistory
from gstlal.stats import inspiral_extrinsics
from gstlal.stats import inspiral_intrinsics
......
......@@ -25,7 +25,7 @@
from bisect import bisect_right
from glue import segments
from ligo import segments
import math
import numpy
import random
......
......@@ -45,7 +45,7 @@ import itertools
from glue import iterutils
from glue import segments
from ligo import segments
from glue.ligolw import lsctables
import lal
from lalinspiral import thinca
......
......@@ -33,7 +33,7 @@ from glue.ligolw import ligolw
from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import process as ligolw_process
from glue.ligolw.utils import segments as ligolw_segments
from glue import segments
from ligo import segments
from lal import LIGOTimeGPS
......
......@@ -51,7 +51,7 @@ import os
from glue import dagfile
from glue.lal import CacheEntry
from glue import segments
from ligo import segments
from glue.text_progress_bar import ProgressBar
from glue.ligolw.lsctables import instrumentsproperty
......
......@@ -4,7 +4,7 @@ import doctest
import random
import unittest
import sys
from glue import segments
from ligo import segments
from gstlal.stats import trigger_rate
def random_coalesced_list(n):
......
#!/usr/bin/python
import sys
from glue import segments
from ligo import segments
from glue.ligolw import lsctables
from glue.ligolw import ligolw
from glue.ligolw import utils
......
......@@ -2,7 +2,7 @@
import sys, os
import StringIO, base64
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import utils
from glue.ligolw.utils import segments as segutils
......
......@@ -51,7 +51,7 @@ from gstlal import coherent_null
from gstlal import inspiral
from gstlal import datasource
from glue import segments
from ligo import segments
from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import segments as ligolw_segments
from glue.ligolw.utils import process as ligolw_process
......
......@@ -19,7 +19,7 @@
import sys
import sqlite3
from glue.ligolw import dbtables
from glue import segments
from ligo import segments
from glue import segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import lsctables
......
......@@ -6,7 +6,7 @@ from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import utils
from glue.ligolw import table
from glue import segments
from ligo import segments
from glue.lal import Cache
import lal
from lal import LIGOTimeGPS
......
......@@ -32,7 +32,7 @@ import base64
import glob
import bisect
from glue.lal import Cache
from glue import segments
from ligo import segments
from glue.ligolw import utils
from glue.ligolw.utils import segments as ligolw_segments
from glue.ligolw import lsctables
......
......@@ -25,7 +25,7 @@
# FIXME: Move some common options to a module.
from optparse import OptionParser
import lal
from glue import segments
from ligo import segments
from glue.ligolw import utils as ligolw_utils
from gstlal.pipeutil import gst
from gstlal import reference_psd
......
......@@ -19,7 +19,7 @@
import sys
import re
import gzip
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import utils
from glue.ligolw.utils import segments as ligolw_segments
......
......@@ -28,7 +28,7 @@ import sys, os
##############################################################################
# import the modules we need to build the pipeline
from glue import segments
from ligo import segments
from optparse import OptionParser
from gstlal import dagparts
from gstlal import datasource
......
......@@ -30,7 +30,7 @@ import sys, os, subprocess, socket, tempfile
##############################################################################
# import the modules we need to build the pipeline
from glue import pipeline
from glue import segments
from ligo import segments
import glue.ligolw.utils as ligolw_utils
import glue.ligolw.utils.segments as ligolw_segments
from optparse import OptionParser
......
......@@ -17,7 +17,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import sys
from glue import segments
from ligo import segments
from glue import segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import lsctables
......
......@@ -17,7 +17,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import sys
from glue import segments
from ligo import segments
from glue import segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import lsctables
......
......@@ -37,7 +37,7 @@ import sys
from xml.sax import SAXParseException
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import utils
......
......@@ -37,7 +37,7 @@ import sys
from xml.sax import SAXParseException
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import utils
......
#!/usr/bin/python
import sys
from glue import lal
from glue import segments
from ligo import segments
from glue.ligolw import lsctables
from glue.ligolw import ligolw
from glue.ligolw import utils
......
......@@ -16,7 +16,7 @@ from glue import iterutils
from glue import pipeline
from glue import lal
from glue.ligolw import lsctables
from glue import segments
from ligo import segments
def which(prog):
which = subprocess.Popen(['which',prog], stdout=subprocess.PIPE)
......
......@@ -16,7 +16,7 @@ from glue import iterutils
from glue import pipeline
from glue import lal
from glue.ligolw import lsctables
from glue import segments
from ligo import segments
import glue.ligolw.utils as utils
import glue.ligolw.utils.segments as ligolw_segments
from optparse import OptionParser
......
#!/usr/bin/python
import sys
from glue import lal
from glue import segments
from ligo import segments
from glue.ligolw import lsctables
from glue.ligolw import ligolw
from glue.ligolw import utils
......
......@@ -16,7 +16,7 @@ from glue import iterutils
from glue import pipeline
from glue import lal
from glue.ligolw import lsctables
from glue import segments
from ligo import segments
import glue.ligolw.utils as utils
import glue.ligolw.utils.segments as ligolw_segments
from optparse import OptionParser
......
#!/usr/bin/python
import sys
from glue import lal
from glue import segments
from ligo import segments
from glue.ligolw import lsctables
from glue.ligolw import ligolw
from glue.ligolw import utils
......
......@@ -16,7 +16,7 @@ from glue import iterutils
from glue import pipeline
from glue import lal
from glue.ligolw import lsctables
from glue import segments
from ligo import segments
import glue.ligolw.utils as utils
import glue.ligolw.utils.segments as ligolw_segments
from optparse import OptionParser
......
#!/usr/bin/python
import sys
from glue import lal
from glue import segments
from ligo import segments
from glue.ligolw import lsctables
from glue.ligolw import ligolw
from glue.ligolw import utils
......
......@@ -16,7 +16,7 @@ from glue import iterutils
from glue import pipeline
from glue import lal
from glue.ligolw import lsctables
from glue import segments
from ligo import segments
import glue.ligolw.utils as utils
import glue.ligolw.utils.segments as ligolw_segments
from optparse import OptionParser
......
......@@ -16,7 +16,7 @@ from glue import iterutils
from glue import pipeline
from glue import lal
from glue.ligolw import lsctables
from glue import segments
from ligo import segments
import glue.ligolw.utils as utils
import glue.ligolw.utils.segments as ligolw_segments
from optparse import OptionParser
......