π `Image Exception : #3 :: Attempted to multiply images/ROIs of different sizes`
shnizzedy opened this issue Β· comments
Jon Clucas commented
Describe the bug
RuntimeError: Command: fslmaths /outputs/working/pipeline_RBCv0/cpac_sub-NDARFP909LY1_ses-HBNsiteCBIC/_scan_rest_run-2_acq-ABCD/aw_jac/uni_masked_warp.nii.gz -mul /outputs/working/pipeline_RBC v0/cpac_sub-NDARFP909LY1_ses-HBNsiteCBIC/_scan_rest_run-2_acq-ABCD/topup/topup_jac_01.nii.gz -seed 77742777 SBRef_dc_jac.nii.gz Standard output: Standard error: Image Exception : #3 :: Attempted to multiply images/ROIs of different sizes terminate called after throwing an instance of 'RBD_COMMON::BaseException' Aborted (core dumped) Return code: 134
Preconfig
- rbc-options
Expected behavior
uni_masked_warp.nii.gz
and topup_jac_01.nii.gz
have the same dimensions
Acceptance criteria
- TOPUP runs without crashing
C-PAC version
v1.8.5
Additional context
$ fslinfo uni_masked_warp.nii.gz
data_type FLOAT32
dim1 90
dim2 90
dim3 66
dim4 1
datatype 16
pixdim1 2.400000
pixdim2 2.400000
pixdim3 2.400000
pixdim4 0.000000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
$ fslinfo topup_jac_01.nii.gz
data_type FLOAT32
dim1 90
dim2 90
dim3 60
dim4 1
datatype 16
pixdim1 2.400000
pixdim2 2.400000
pixdim3 2.399998
pixdim4 1.000000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
Jon Clucas commented
The dimensions are different in the raw data?
$ fslinfo sub-NDARFP909LY1_ses-HBNsiteCBIC_acq-fMRI_dir-AP_epi.nii.gz
data_type INT16
dim1 90
dim2 90
dim3 60
dim4 1
datatype 4
pixdim1 2.400000
pixdim2 2.400000
pixdim3 2.399998
pixdim4 7.030000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
$ fslinfo sub-NDARFP909LY1_ses-HBNsiteCBIC_acq-fMRI_dir-PA_epi.nii.gz
data_type INT16
dim1 90
dim2 90
dim3 60
dim4 1
datatype 4
pixdim1 2.400000
pixdim2 2.400000
pixdim3 2.399998
pixdim4 7.030000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
$ fslinfo sub-NDARFP909LY1_ses-HBNsiteCBIC_task-rest_acq-ABCD_run-2_bold.nii.gz
data_type INT16
dim1 90
dim2 90
dim3 66
dim4 370
datatype 4
pixdim1 2.400000
pixdim2 2.400000
pixdim3 2.400000
pixdim4 0.800000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+