Skip to content
Snippets Groups Projects
Commit c360e14b authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Fixes bug in which SFTs are regenerated (not using cached) with ndetectors>2

parent 99c8266f
Branches
Tags
No related merge requests found
...@@ -963,13 +963,14 @@ transientTauDays={:1.3f}\n""") ...@@ -963,13 +963,14 @@ transientTauDays={:1.3f}\n""")
cl.append('--outSingleSFT=TRUE') cl.append('--outSingleSFT=TRUE')
cl.append('--outSFTdir="{}"'.format(self.outdir)) cl.append('--outSFTdir="{}"'.format(self.outdir))
cl.append('--outLabel="{}"'.format(self.label)) cl.append('--outLabel="{}"'.format(self.label))
cl.append('--IFOs="{}"'.format(self.detectors)) cl.append('--IFOs={}'.format(
",".join(['"{}"'.format(d) for d in self.detectors.split(",")])))
if self.add_noise: if self.add_noise:
cl.append('--sqrtSX="{}"'.format(self.sqrtSX)) cl.append('--sqrtSX="{}"'.format(self.sqrtSX))
if self.minStartTime is None: if self.minStartTime is None:
cl.append('--startTime={:10.9f}'.format(float(self.tstart))) cl.append('--startTime={:10.0f}'.format(float(self.tstart)))
else: else:
cl.append('--startTime={:10.9f}'.format(float(self.minStartTime))) cl.append('--startTime={:10.0f}'.format(float(self.minStartTime)))
if self.maxStartTime is None: if self.maxStartTime is None:
cl.append('--duration={}'.format(int(self.duration))) cl.append('--duration={}'.format(int(self.duration)))
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment