From 59f8d6f4e3bd26959a4aced5c742f38abc931bcd Mon Sep 17 00:00:00 2001
From: David Keitel <david.keitel@ligo.org>
Date: Mon, 4 Nov 2019 22:35:31 +0100
Subject: [PATCH] Writer.run_makefakedata: pass through ephemeride file choices

---
 pyfstat/make_sfts.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pyfstat/make_sfts.py b/pyfstat/make_sfts.py
index 8ef6b1f..1b77bfa 100644
--- a/pyfstat/make_sfts.py
+++ b/pyfstat/make_sfts.py
@@ -350,6 +350,10 @@ transientTau = {:10.0f}\n"""
         cl_mfd.append("--Tsft={}".format(self.Tsft))
         if self.h0 != 0:
             cl_mfd.append('--injectionSources="{}"'.format(self.config_file_name))
+        if self.earth_ephem is not None:
+            cl_mfd.append('--ephemEarth="{}"'.format(self.earth_ephem))
+        if self.sun_ephem is not None:
+            cl_mfd.append('--ephemSun="{}"'.format(self.sun_ephem))
 
         cl_mfd = " ".join(cl_mfd)
 
-- 
GitLab