Skip to content

Commit e262c06

Browse files
committed
maint: commons.resample_img_to_img
1 parent 0806285 commit e262c06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

siibra/commons.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,9 @@ def resample_img_to_img(
536536
resampled_img = resample_to_img(
537537
source_img=source_img,
538538
target_img=target_img,
539-
interpolation=interpolation
539+
interpolation=interpolation,
540+
force_resample=True, # False is intended for testing. see nilearn docs
541+
copy_header=True, # New default behaviour as of nilearn v0.13.0
540542
)
541543
return resampled_img
542544

0 commit comments

Comments
 (0)