Commit 2c99d2b6 authored by David Keitel's avatar David Keitel

replace blanks in file path arguments for MFDv5 commandlines

parent 968f9833
......@@ -105,7 +105,7 @@ class Writer(BaseSearchClass):
self.Tsft,
self.minStartTime,
self.data_duration,
self.label,
self.label.replace(" ","_"),
)
for dets in self.detectors.split(",")
]
......@@ -361,7 +361,7 @@ transientTau = {:10.0f}\n"""
cl_mfd = []
cl_mfd.append("lalapps_Makefakedata_v5")
cl_mfd.append("--outSingleSFT=TRUE")
cl_mfd.append('--outSFTdir="{}"'.format(self.outdir))
cl_mfd.append('--outSFTdir="{}"'.format(self.outdir.replace(" ","\ ")))
cl_mfd.append('--outLabel="{}"'.format(self.label))
cl_mfd.append("--IFOs={}".format(self.IFOs))
if self.add_noise:
......@@ -379,7 +379,7 @@ transientTau = {:10.0f}\n"""
cl_mfd.append("--Band={:.16g}".format(self.Band))
cl_mfd.append("--Tsft={}".format(self.Tsft))
if self.h0 != 0:
cl_mfd.append('--injectionSources="{}"'.format(self.config_file_name))
cl_mfd.append('--injectionSources="{}"'.format(self.config_file_name.replace(" ","\ ")))
earth_ephem = getattr(self, "earth_ephem", None)
sun_ephem = getattr(self, "sun_ephem", None)
if earth_ephem is not None:
......
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