Commit 6e733890 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'simone.mozzon/bilby_pipe-fix_create_inj'

parents 94264446 845a0aaa
Pipeline #255544 passed with stage
in 1 minute and 35 seconds
......@@ -213,7 +213,7 @@ class InjectionCreator(Input):
uncertainty=self.deltaT / 2.0,
)
geocent_times.append(geocent_time)
inj_df["geocenter_times"] = geocent_times
inj_df["geocent_time"] = geocent_times
return inj_df
@staticmethod
......
......@@ -130,7 +130,7 @@ class TestCreateInjections(unittest.TestCase):
len(df.columns.values) > 1, f"Column names: {df.columns.values}"
)
self.assertAlmostEqual(
df["geocenter_times"].iloc[0] / 100, gps_vals[0] / 100, places=1
df["geocent_time"].iloc[0] / 100, gps_vals[0] / 100, places=1
)
def test_create_injection_file_json(self):
......
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