From 80e79aad8a98c35be06054f250809bf4fa02d1d6 Mon Sep 17 00:00:00 2001
From: MoritzThomasHuebner <email@moritz-huebner.de>
Date: Fri, 3 Aug 2018 10:51:29 +1000
Subject: [PATCH] Made accessing the utils module via the full path

---
 tupak/gw/waveform_generator.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tupak/gw/waveform_generator.py b/tupak/gw/waveform_generator.py
index fe87dc8ac..8e4531d19 100644
--- a/tupak/gw/waveform_generator.py
+++ b/tupak/gw/waveform_generator.py
@@ -1,6 +1,5 @@
 import inspect
-
-from tupak.core import utils
+import tupak
 import numpy as np
 
 
@@ -84,7 +83,7 @@ class WaveformGenerator(object):
         """
         return self._calculate_strain(model=self.frequency_domain_source_model,
                                       model_data_points=self.frequency_array,
-                                      transformation_function=utils.nfft,
+                                      transformation_function=tupak.core.utils.nfft,
                                       transformed_model=self.time_domain_source_model,
                                       transformed_model_data_points=self.time_array)
 
@@ -106,7 +105,7 @@ class WaveformGenerator(object):
         """
         return self._calculate_strain(model=self.time_domain_source_model,
                                       model_data_points=self.time_array,
-                                      transformation_function=utils.infft,
+                                      transformation_function=tupak.core.utils.infft,
                                       transformed_model=self.frequency_domain_source_model,
                                       transformed_model_data_points=self.frequency_array)
 
-- 
GitLab