diff --git a/jwst/emicorr/emicorr.py b/jwst/emicorr/emicorr.py index a8c537cdad..312ef8cc80 100644 --- a/jwst/emicorr/emicorr.py +++ b/jwst/emicorr/emicorr.py @@ -14,8 +14,9 @@ try: import bottleneck as bn except ImportError as err: - msg = "Please install the bottleneck package for improved performance. Falling back on numpy. To install, use pip install bottleneck." - warnings.warn(msg) + warnings.warn("Please install the bottleneck package for improved " + "performance. Falling back on numpy. To install, " + "use pip install bottleneck.") bn = np # set bn as an alias for numpy subarray_clocks = {