Commit 487eb376 authored by Stephen Privitera's avatar Stephen Privitera

sbank_sim_pipe: fix example ini, fix a little whitespace

Original: bc5b1ac8333b6eda83dc65895fece0fb34e8c492
parent 4d753740
......@@ -176,7 +176,7 @@ class LWAddJob(pipeline.CondorDAGJob):
class LWAddNode(pipeline.CondorDAGNode):
"""
"""
def __init__(self, job, dag, xmls,output,p_node=[]):
def __init__(self, job, dag, xmls,output, p_node=[]):
pipeline.CondorDAGNode.__init__(self,job)
for x in xmls: self.add_file_arg(x)
......@@ -228,8 +228,6 @@ spin1-min = -0.98
spin2-max = 0.98
spin2-min = -0.98
aligned-spin =
gps-start-time = 1000000000
gps-end-time = 1000050000
neighborhood-param = dur
neighborhood-size = 0.5
checkpoint = 500
......
......@@ -21,9 +21,8 @@
#
###############################################################################
import sys, os, shutil
from itertools import cycle, izip
import subprocess, socket, tempfile
import os
import socket, tempfile
from optparse import OptionParser
from glue.pipeline import DeepCopyableConfigParser as dcConfigParser
from glue import pipeline
......@@ -75,7 +74,7 @@ class bank_DAG(pipeline.CondorDAG):
f.close()
class InspinjJob(inspiral.InspiralAnalysisJob):
def __init__(self,cp,dax=False, tag_base="inspinj"):
def __init__(self, cp, dax=False, tag_base="inspinj"):
exec_name = 'lalapps_inspinj'
extension = 'xml'
sections = ['inspinj']
......@@ -90,7 +89,7 @@ class InspinjJob(inspiral.InspiralAnalysisJob):
class InspinjNode(pipeline.CondorDAGNode):
def __init__(self,job, dag, tag=None,seed=0, p_node=[]):
def __init__(self, job, dag, tag=None, seed=0, p_node=[]):
pipeline.CondorDAGNode.__init__(self,job)
self.add_var_opt("seed", seed)
outputFile = "HL-INJECTIONS_" + str(seed)
......@@ -105,7 +104,7 @@ class InspinjNode(pipeline.CondorDAGNode):
dag.add_node(self)
class BankSimJob(inspiral.InspiralAnalysisJob):
def __init__(self,cp,dax=False, tag_base ="banksim"):
def __init__(self, cp, dax=False, tag_base ="banksim"):
exec_name = 'lalapps_cbc_sbank_sim'
extension = 'xml'
sections = ['banksim']
......@@ -137,7 +136,7 @@ class BankSimNode(pipeline.CondorDAGNode):
class PlotSimJob(inspiral.InspiralAnalysisJob):
def __init__(self,cp,dax=False, tag_base="lalapps_cbc_sbank_plot_sim"):
def __init__(self, cp, dax=False, tag_base="lalapps_cbc_sbank_plot_sim"):
exec_name = 'lalapps_cbc_sbank_plot_sim'
extension = 'h5'
sections = []
......@@ -154,7 +153,7 @@ class PlotSimJob(inspiral.InspiralAnalysisJob):
class PlotSimNode(pipeline.CondorDAGNode):
def __init__(self,job, dag, h5files=[],p_node=[]):
def __init__(self, job, dag, h5files=[],p_node=[]):
pipeline.CondorDAGNode.__init__(self,job)
[self.add_file_arg(h5f) for h5f in h5files]
for p in p_node:
......@@ -182,7 +181,7 @@ lalapps_inspinj = /home/sprivite/local/opt/master/bin/lalapps_inspinj
;[accounting]
;accounting-group = ???
[sbank_sim]
[banksim]
; This section contains the parameters of the entire bank parameter
; space you wish to cover. sbank_pipe will divide the space for you.
template-bank = MYBANK1[:MYAPPROX1]
......
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