Hellooo. I'm doing some QC checks on pilot ME data and appear to be having the same issue as this poster: Errors while running correlation in afni_proc.py
AFNI version info (afni -ver
): 25.0.00
Here's the script:
afni_proc.py \
-subj_id test \
-blocks despike tshift align volreg mask combine blur scale regress \
-radial_correlate_blocks tcat volreg \
-copy_anat uni_denoised_brain.nii.gz \
-anat_has_skull no \
-anat_follower anat_w_skull anat uni_denoised.nii \
-dsets_me_run e1.nii e2.nii e3.nii \
-echo_times 11 26.45 41.9 \
-combine_method m_tedana \
-reg_echo 1 \
-tcat_remove_first_trs 2 \
-tshift_interp -wsinc9 \
-align_unifize_epi local \
-mask_epi_anat yes \
-align_opts_aea -cost lpc+ZZ \
-giant_move \
-check_flip \
-volreg_align_to MIN_OUTLIER \
-volreg_align_e2a \
-volreg_warp_final_interp wsinc5 \
-volreg_compute_tsnr yes \
-blur_size 4 \
-regress_motion_per_run \
-regress_apply_mot_types demean deriv \
-html_review_style pythonic
Here are the last few lines with the error:
-- running correlation on dataset pb00.test.r01.e01.tcat+orig.HEAD ...
++ merge blur: rad 20, FWHM 40
++ 3dmerge: AFNI version=AFNI_25.0.00 (Jan 14 2025) [64-bit]
*** cannot open dataset det.r01+orig
Program 3dmerge
3dmerge: edit and combine 3D datasets, by RW Cox
++ 3dTcorrelate: AFNI version=AFNI_25.0.00 (Jan 14 2025) [64-bit]
** FATAL ERROR: Can't open input dataset sphere.mean.20.r01+orig
** Program compile date = Jan 14 2025
** missing correlation result radcor.20.r01.corr+orig.HEAD
From comparing the proc script with its output the error seems to stem from the QC: compute correlations with spherical ~averages step with @radial_correlate.
Any help would be appreciated! Thank you!