Skip to content

Commit

Permalink
hotfix: wrong warning argument name level
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban authored Jul 23, 2024
1 parent a366f85 commit ba6b416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nitransforms/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def apply(self, *args, **kwargs):
message = (
"The `apply` method is deprecated. Please use `nitransforms.resampling.apply` instead."
)
warnings.warn(message, DeprecationWarning, level=2)
warnings.warn(message, DeprecationWarning, stacklevel=2)
from .resampling import apply

return apply(self, *args, **kwargs)
Expand Down

0 comments on commit ba6b416

Please sign in to comment.