Skip to content

Commit

Permalink
Remove deprecated stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsugennoao committed Oct 14, 2023
1 parent 81da5f7 commit ece837a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions vsrgtools/contra.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ def contrasharpening(

planes = normalize_planes(flt, planes)

if radius is None:
import warnings # type: ignore
warnings.warn('contrasharpening: radius=None is deprecated! The function will always default to 1.')
radius = 1

# Damp down remaining spots of the denoised clip
mblur = min_blur(flt, radius, planes)

Expand Down Expand Up @@ -175,11 +170,6 @@ def fine_contra(

planes = normalize_planes(flt, planes)

if radius is None:
import warnings # type: ignore
warnings.warn('fine_contra: radius=None is deprecated! The function will always default to 1.')
radius = 1

mblur = min_blur(flt, radius, planes)

sharp = [1.0 / x for x in sharp if x] if isinstance(sharp, range) else to_arr(sharp)
Expand Down

0 comments on commit ece837a

Please sign in to comment.