lalapps: excised all references to glue.segments

parent c7e038a6
......@@ -10,9 +10,10 @@ import glob
from types import * #!!!what does this do?
from operator import itemgetter
from ligo import segments #!!!do I need this?
from ligo.segments import utils as segmentsUtils #!!!do I need this?
from glue import lal
from glue import segments #!!!do I need this?
from glue import segmentsUtils #!!!do I need this?
from glue.ligolw import ligolw
from glue.ligolw import table as tab #!!!why as tab?
from glue.ligolw import lsctables
......
......@@ -22,11 +22,11 @@ from UserDict import UserDict
##############################################################################
# import the modules we need to build the pipeline
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue import pipeline
from glue import lal
from pylab import *
from glue import segments
from glue import segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import table
from glue.ligolw import lsctables
......
......@@ -19,8 +19,8 @@ import subprocess
##############################################################################
# import the modules we need to build the pipeline
from glue import segments
from glue import segmentsUtils
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue import pipeline
from glue import lal
from glue.ligolw import ligolw
......
......@@ -24,9 +24,9 @@ where veto_category is 0 (science), 1, 2, or 4 and clustering is UNCLUSTERED
import sys
import os
from glue.segments import segment, segmentlist
from ligo.segments import segment, segmentlist
from optparse import OptionParser
from glue import git_version
from lalapps import git_version
......
import sys
from optparse import *
from glue import segments
from glue import segmentsUtils
from ligo import segments
from ligo.segments import utils as segmentsUtils
from pylal import readMeta
def cleanlist(seglist, min_length):
......
......@@ -28,7 +28,6 @@ import itertools
##############################################################################
# import the modules we need to build the pipeline
from glue import pipeline
from glue import segments as glue_segments
from glue import lal
from lalapps import inspiral
......
......@@ -25,10 +25,10 @@ from UserDict import UserDict
##############################################################################
# import the modules we need to build the pipeline
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue import pipeline
from glue import lal
from glue import segments
from glue import segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import table
from glue.ligolw import lsctables
......
......@@ -26,8 +26,8 @@ import M2Crypto
##############################################################################
# import the modules we need to build the pipeline
from glue import segments
from glue import segmentsUtils
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue import pipeline
from glue.pipeline import DeepCopyableConfigParser as dcConfigParser
from lalapps import inspiralutils
......
......@@ -22,13 +22,13 @@ import pylab
from pylab import exp
from pylab import sqrt
from ligo.segments import segment, segmentlist
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import table
from glue.ligolw import utils
from glue.segments import segment, segmentlist
from glue.segmentdb import segmentdb_utils
import sqlite3
......
......@@ -327,7 +327,6 @@ import urlparse
from glue import pipeline
from six.moves import configparser
from glue.pipeline import DeepCopyableConfigParser as dcConfigParser
from glue import segments as glue_segments
from glue import lal
from lalapps import inspiral
from lalapps.inspiralutils import get_data_options
......
......@@ -19,8 +19,8 @@ from six.moves import configparser
import urlparse
# import the modules we need to build the pipeline
from ligo import segments
from glue import pipeline
from glue import segments
from lalapps import inspiral
......
......@@ -26,7 +26,6 @@ import urlparse
##############################################################################
# import the modules we need to build the pipeline
from glue import pipeline
from glue import segments as glue_segments
from glue import lal
from lalburst import timeslides as ligolw_tisi
from pylal import ligolw_cafe
......
......@@ -39,8 +39,8 @@ import random
import string
from six.moves import configparser
from optparse import *
from glue import segments
from glue import segmentsUtils
from ligo import segments
from ligo.segments import utils as segmentsUtils
from pylal import readMeta
##############################################################################
......
......@@ -21,13 +21,14 @@ import subprocess
import numpy
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import utils
from glue.ligolw import table
from glue.ligolw import lsctables
from glue import lal
from glue import segments
from glue import segmentsUtils
from glue import pipeline
from pylal import grbsummary
from pylal import exttrig_dataquery
......
......@@ -18,8 +18,8 @@ import glob
import shutil
import StringIO
from optparse import *
from ligo import segments
from glue import markup
from glue import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import table
......
......@@ -11,11 +11,12 @@
import sys
from optparse import OptionParser
from ligo import segments
try:
# ligo_lw xml handling modules
import glue
from glue import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import table
......
......@@ -11,13 +11,14 @@ import glob
import copy
from optparse import OptionParser
from glue import segments
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import dbtables
from glue.ligolw import utils
from glue.ligolw import table
from glue import segmentsUtils
from pylal import db_thinca_rings
from pylal import llwapp
......
......@@ -3,13 +3,13 @@ from __future__ import print_function
import sys
import sqlite3
from optparse import OptionParser
from glue import segments
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import dbtables
from glue.ligolw import utils
from glue.ligolw import table
from glue import segmentsUtils
from pylal import db_thinca_rings
from pylal import llwapp
......
......@@ -11,7 +11,7 @@ import glob
import copy
from optparse import OptionParser
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import dbtables
......
......@@ -11,7 +11,7 @@ import glob
import copy
from optparse import OptionParser
from glue import segments
from ligo import segments
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import dbtables
......
......@@ -3,13 +3,13 @@ from __future__ import print_function
import sys
import sqlite3
from optparse import OptionParser
from glue import segments
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import dbtables
from glue.ligolw import utils
from glue.ligolw import table
from glue import segmentsUtils
from pylal import db_thinca_rings
from pylal import llwapp
......
#!/usr/bin/python
from math import *
from ligo import segments
import glue
from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import table
from glue.ligolw.utils import ligolw_add
from glue.ligolw import utils
from glue import segments
import sys
from optparse import OptionParser
......
......@@ -10,8 +10,8 @@ import string
from optparse import *
from types import *
from pylab import *
from glue import segments
from glue import segmentsUtils
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue.ligolw import ligolw
from glue.ligolw import table
from glue.ligolw import lsctables
......
......@@ -34,8 +34,8 @@ import sys
from optparse import OptionParser
from ligo import segments
from glue import lal
from glue import segments
#from lalapps import git_version
......
......@@ -41,8 +41,8 @@ import sys
import tempfile
from ligo.segments import utils as segmentsUtils
from glue import pipeline
from glue import segmentsUtils
import lal
from lal.utils import CacheEntry
from lalapps import power
......
......@@ -41,9 +41,9 @@ import sys
import tempfile
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue import pipeline
from glue import segments
from glue import segmentsUtils
from lal import LIGOTimeGPS
from lal.utils import CacheEntry
from lalburst import cafe
......
......@@ -39,9 +39,9 @@ import sys
import time
from ligo import segments
from ligo.segments import utils as segmentsUtils
from glue import iterutils
from glue import segments
from glue import segmentsUtils
from glue import pipeline
import lal
from lal.utils import CacheEntry
......
......@@ -20,9 +20,9 @@ import os
import sys
from ligo import segments
from glue import iterutils
from glue import pipeline
from glue import segments
from lal import LIGOTimeGPS
from lal.utils import CacheEntry
from lalburst import cafe
......
#!/usr/bin/env python
from glue import segments
from glue import segmentsUtils
from ligo import segments
from ligo.segments import utils as segmentsUtils
S5h1_seg=segmentsUtils.fromsegwizard(open("../S5-H1segments-cat1.txt")).coalesce()
S5h2_seg=segmentsUtils.fromsegwizard(open("../S5-H2segments-cat1.txt")).coalesce()
......
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