Commit ff8eb86d authored by megmillhouse's avatar megmillhouse

clean up debugging statements

parent 5ea52c08
......@@ -29,10 +29,7 @@ from glue import pipeline
from glue.ligolw import ligolw
from glue.ligolw import utils as ligolw_utils
try:
from glue.ligolw import lsctables
except:
print("Warning! Unable to import lsctables.")
from glue.ligolw import lsctables
#import lalinspiral, lalburst
......@@ -54,12 +51,9 @@ else: # other python3 compatibility stuff
CVMFS_FRAMES="/cvmfs/oasis.opensciencegrid.org/ligo/frames/"
# define a content handler
try:
class LIGOLWContentHandler(ligolw.LIGOLWContentHandler):
pass
lsctables.use_in(LIGOLWContentHandler)
except:
print("Warning: could not set LIGOLW content handler")
class LIGOLWContentHandler(ligolw.LIGOLWContentHandler):
pass
lsctables.use_in(LIGOLWContentHandler)
def write_pre_cmd(workdir):
"""
......@@ -458,10 +452,6 @@ class triggerList:
elif trigger_file is not None and not internal_injections:
# Create trigger list from ascii file
self.triggers = self.parse_trigger_list(cp, trigger_file)
list_of_times = [t.trigger_time for t in self.triggers]
print(list_of_times)
# for t in self.triggers:
# print(t.trigger_time)
elif injection_file is not None:
# Create trigger list from sim* LIGOLW-XML table
......@@ -538,7 +528,6 @@ class triggerList:
if events!='all':
BW_events=list(hyphen_range(events))
print(BW_events)
else:
BW_events=range(0,BW_chainLength)
......
......@@ -38,10 +38,8 @@ import numpy as np
from glue import pipeline
try:
from lalapps import inspiralutils
except:
print("Warning! could not import inspiralutils")
from lalapps import inspiralutils
from ligo import segments
from bayeswave_pipe import bayeswave_pipe_utils as pipe_utils
......
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