Skip to content

Commit

Permalink
warning -> warn
Browse files Browse the repository at this point in the history
  • Loading branch information
tgalvin committed Oct 11, 2024
1 parent 2e646f5 commit e961fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flint/masking.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def minimum_boxcar_artefact_mask(
"""
import warnings

warnings.warning("minimum_boxcar_artefacts to be removed. ", DeprecationWarning)
warnings.warn("minimum_boxcar_artefacts to be removed. ", DeprecationWarning)
return island_mask

logger.info(
Expand Down

0 comments on commit e961fa8

Please sign in to comment.