Skip to content

Commit 682b9da

Browse files
committed
fix: typo in np.clip argument names
1 parent 3ef058c commit 682b9da

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
@@ -179,7 +179,7 @@ def resample_by_spacing(in_file, zooms, order=3, clip=True):
179179
prefilter=True,
180180
).reshape(new_size)
181181
if clip:
182-
resampled = np.clip(resampled, min=data.min(), max=data.max())
182+
resampled = np.clip(resampled, a_min=data.min(), a_max=data.max())
183183

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

0 commit comments

Comments
 (0)