Skip to content

Commit 6d22862

Browse files
authored
fix: typo in np.clip argument names
1 parent bb1a257 commit 6d22862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/utils/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def resample_by_spacing(in_file, zooms, order=3, clip=True):
181181
prefilter=True,
182182
).reshape(new_size)
183183
if clip:
184-
resampled = np.clip(resampled, min=data.min(), max=data.max())
184+
resampled = np.clip(resampled, a_min=data.min(), a_max=data.max())
185185

186186
# Prepare output x-forms
187187
sform, scode = hdr.get_sform(coded=True)

0 commit comments

Comments
 (0)