Skip to content

Commit

Permalink
Silence warnings in source initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
fred3m committed Feb 5, 2021
1 parent 71e9a84 commit 5a4184e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/lsst/meas/extensions/scarlet/scarletDeblendTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

import logging
import numpy as np
import scarlet
from scarlet.psf import ImagePSF, GaussianPSF
Expand All @@ -39,6 +40,11 @@

from .source import modelToHeavy

scarletInitLogger = logging.getLogger("scarlet.initialisation")
scarletSourceLogger = logging.getLogger("scarlet.source")
scarletInitLogger.setLevel(logging.ERROR)
scarletSourceLogger.setLevel(logging.ERROR)

__all__ = ["deblend", "ScarletDeblendConfig", "ScarletDeblendTask"]

logger = lsst.log.Log.getLogger("meas.deblender.deblend")
Expand Down

0 comments on commit 5a4184e

Please sign in to comment.