Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Image Exception : #3 :: Attempted to multiply images/ROIs of different sizes #2082

Open
1 of 2 tasks
shnizzedy opened this issue Mar 14, 2024 · 1 comment
Open
1 of 2 tasks
Labels
bug RBC https://github.com/PennLINC/RBC user-reported

Comments

@shnizzedy
Copy link
Member

shnizzedy commented Mar 14, 2024

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+
@shnizzedy shnizzedy added the RBC https://github.com/PennLINC/RBC label Mar 14, 2024
@shnizzedy
Copy link
Member Author

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+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug RBC https://github.com/PennLINC/RBC user-reported
Projects
Status: No status
Development

No branches or pull requests

1 participant