From 800659c1a60948ad23245d3677e89eb62c3f879d Mon Sep 17 00:00:00 2001
From: Gregory Ashton <gregory.ashton@ligo.org>
Date: Wed, 23 Aug 2017 22:29:32 +0200
Subject: [PATCH] Adds missing injectSources

---
 pyfstat/grid_based_searches.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyfstat/grid_based_searches.py b/pyfstat/grid_based_searches.py
index fce0ed8..46cf086 100644
--- a/pyfstat/grid_based_searches.py
+++ b/pyfstat/grid_based_searches.py
@@ -75,7 +75,8 @@ class GridSearch(BaseSearchClass):
                 BSGL=self.BSGL, minStartTime=self.minStartTime,
                 maxStartTime=self.maxStartTime, minCoverFreq=self.minCoverFreq,
                 maxCoverFreq=self.maxCoverFreq, detectors=self.detectors,
-                earth_ephem=self.earth_ephem, sun_ephem=self.sun_ephem)
+                earth_ephem=self.earth_ephem, sun_ephem=self.sun_ephem,
+                injectSources=self.injectSources)
 
             def cut_out_tstart_tend(*vals):
                 return self.search.run_semi_coherent_computefstatistic_single_point(*vals[2:])
-- 
GitLab