aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/__init__.py')
-rw-r--r--fg21sim/__init__.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/fg21sim/__init__.py b/fg21sim/__init__.py
index b829e5b..8ff996e 100644
--- a/fg21sim/__init__.py
+++ b/fg21sim/__init__.py
@@ -17,8 +17,10 @@ __description__ = ("Realistic Foregrounds Simulation for "
"EoR 21cm Signal Detection")
-# Set default logging handle to avoid "No handler found" warnings.
import logging
-from logging import NullHandler
-logging.getLogger(__name__).addHandler(NullHandler())
+from .foregrounds import Foregrounds
+
+
+# Set default logging handle to avoid "No handler found" warnings.
+logging.getLogger(__name__).addHandler(logging.NullHandler())