From 6d8c913e3a8edfd21f85b26d2a2e1c028249ba28 Mon Sep 17 00:00:00 2001 From: Gregory Ashton <gregory.ashton@ligo.org> Date: Fri, 21 Apr 2017 15:01:01 +0200 Subject: [PATCH] Minor fixing following update to current lalapps version --- pyfstat/core.py | 4 ++-- tests.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyfstat/core.py b/pyfstat/core.py index bc2b776..9bb8cf6 100755 --- a/pyfstat/core.py +++ b/pyfstat/core.py @@ -1041,9 +1041,9 @@ transientTauDays={:1.3f}\n""") if self.add_noise: cl.append('--sqrtSX="{}"'.format(self.sqrtSX)) if self.minStartTime is None: - cl.append('--startTime={:10.0f}'.format(float(self.tstart))) + cl.append('--startTime={:0.0f}'.format(float(self.tstart))) else: - cl.append('--startTime={:10.0f}'.format(float(self.minStartTime))) + cl.append('--startTime={:0.0f}'.format(float(self.minStartTime))) if self.maxStartTime is None: cl.append('--duration={}'.format(int(self.duration))) else: diff --git a/tests.py b/tests.py index 503eaf1..090d50f 100644 --- a/tests.py +++ b/tests.py @@ -192,7 +192,7 @@ class TestMCMCSearch(Test): label = "Test" def test_fully_coherent(self): - h0 = 1e-24 + h0 = 5e-24 sqrtSX = 1e-22 F0 = 30 F1 = -1e-10 @@ -233,7 +233,7 @@ class TestMCMCSearch(Test): FS > predicted_FS or np.abs((FS-predicted_FS))/predicted_FS < 0.3) def test_multi_stage(self): - Writer = pyfstat.Writer() + Writer = pyfstat.Writer(F0=10) Writer.make_cff() theta = {'F0': {'type': 'norm', 'loc': 10, 'scale': 1e-2}, -- GitLab