- This topic has 3 replies, 4 voices, and was last updated 1 month, 3 weeks ago by peolsolutions.
-
AuthorPosts
-
-
January 25, 2019 at 10:44 am #1583balukrishnanParticipant
Hi
I am getting the following error when I run BDP on my data
Transforming input file to diffusion coordinates: T1.niiSubscript indices must either be real positive integers or logicals.
Error in check_nifti_file (line 34)
Error in transfer_T1_to_diffusion (line 52)
Error in coregister_diffusion_mprage_pipeline (line 333)
Error in BrainSuite_Diffusion_pipeline (line 26)
MATLAB:badsubscript
Can anyone help me with debugging it?
Balu
-
December 10, 2021 at 11:05 am #3160TaylorarikoParticipant
Hello,
I am having a similar problem. Any help?
>>/Applications/BrainSuite21a/bdp/bdp.sh T1.bfc.nii.gz –nii DW.nii –bval bval.bval –bvec bvec.bvec
BDP Version: 21a (build #0081), released 2021-05-05
================================================================================
Setting up dataset and inputs
================================================================================
Reading input flags…
Did not detect –FRT/–FRACT/–tensor/–3dshore/–gqi/–erfo. Using default
setting of estimating tensors.Checking input files…
Array indices must be positive integers or logical values.Error in check_nifti_file (line 34)
Error in bdp_setup (line 894)
Error in BrainSuite_Diffusion_pipeline (line 13)
MATLAB:badsubscript
>>
Thanks!
Taylor -
April 14, 2022 at 4:54 am #3528WhiizParticipant
Hey,
having a similar problem, any solutions yet?
Error in find_bounding_box (line 16)
Error in EPI_correct_files_registration_INVERSION>trim_msk_PED (line 513)
Error in EPI_correct_files_registration_INVERSION (line 271)
Error in coregister_diffusion_mprage_pipeline (line 219)
Error in BrainSuite_Diffusion_pipeline (line 26)
MATLAB:badsubscript
-
November 28, 2024 at 7:07 pm #5382peolsolutionsParticipant
The BDP error (BadSubscript) typically occurs in programming languages when an invalid subscript or index is used to access an array, list, or similar data structure. This error happens when an attempt is made to reference an element at an index that doesn’t exist or is out of range. Common causes include using negative indices, exceeding the array’s bounds, or passing non-integer values as subscripts. To resolve this error, verify the array’s size, check the index calculations, and ensure proper bounds checking before accessing array elements.
-
-
AuthorPosts
- You must be logged in to reply to this topic.