From cf4737858e68967b44e474c4a7e1f805829c18df Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 27 Oct 2016 11:23:52 +0800 Subject: fg21sim/__init__.py: Do not import from ".foregrounds" Import from ".foregrounds" involves a lot of imports of other components, which cause a lot of numba JIT compilations. Therefore, the simple "import fg21sim" causes a long lag for running the scripts, e.g., bin/healpix2hpx. --- fg21sim/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/fg21sim/__init__.py b/fg21sim/__init__.py index 8ff996e..1142e26 100644 --- a/fg21sim/__init__.py +++ b/fg21sim/__init__.py @@ -19,8 +19,6 @@ __description__ = ("Realistic Foregrounds Simulation for " import logging -from .foregrounds import Foregrounds - # Set default logging handle to avoid "No handler found" warnings. logging.getLogger(__name__).addHandler(logging.NullHandler()) -- cgit v1.2.2