AFNI version info (afni -ver
): AFNI version=AFNI_25.0.06 (Feb 12 2025) [64-bit]
Hello there,
I am running afni on Ubuntu. I am trying to do some basic preprocessing and somehow my codes don't work (they work on other lab member's device). They stop at "*** Coarse pass begins ***" every time. Hopefully I can get some feedbacks. Thanks!
code text
#!/bin/bash
raw_dir="/mnt/c/Users/hulas/ds003721-download"
processed_dir="/mnt/c/Users/hulas/ds003721-download/processed"
mkdir -p "$processed_dir/SSwarper"
subjects=("sub-04")
for subj in "${subjects[@]}"
do
mkdir -p "$processed_dir/sswarper/$subj"
dir_in="$raw_dir/$subj/anat"
dir_out="$processed_dir/sswarper/$subj"
sswarper2 \
-input "$dir_in/${subj}_acq-highres_T1w_deface.nii" \
-base MNI152_2009_template_SSW.nii.gz \
-deoblique \
-subid "$subj" \
-odir "$dir_out"
done
below is the error message
++ 3dAllineate: AFNI version=AFNI_25.0.06 (Feb 12 2025) [64-bit]
++ Authored by: Zhark the Registrator
++ lpa+ parameters: hel=0.40 mi=0.00 nmi=0.20 crA=0.40 ov=0.40 [to be zeroed at Final iteration]
++ Source dataset: /mnt/c/Users/hulas/ds003721-download/processed/sswarper/sub-04/anatUAC.sub-04.nii
++ Base dataset: /home/jieronglin/abin/MNI152_2009_template_SSW.nii.gz
++ Loading datasets into memory
++ Local correlation: blok type = 'TOHD(5.17699)'
++ lpa+ parameters: hel=0.40 mi=0.00 nmi=0.20 crA=0.40 ov=0.40 [to be zeroed at Final iteration]
*+ WARNING: center of mass shifts (-cmass) are turned off, but would be TERRIBLY large!
*+ WARNING: - at least one is more than 50% of search range
+ -cmass x y z shifts = 0.400 -29.829 -61.208
+ shift search range is +/- = 75.435 86.349 73.830
+ 0.5% 34.5% 82.9%
++ master dataset for output = base
++ OpenMP thread count = 15
++ ======= Allineation of 1 sub-bricks using Local Pearson Abs + Others =======
++ *** Coarse pass begins ***
^C
Fatal Signal 2 (SIGINT) received
GA_get_warped_overlap
GA_scalar_costfun
GA_scalar_fitter
mri_genalign_scalar_ransetup
3dAllineate
Bottom of Debug Stack
** AFNI version = AFNI_25.0.06 Compile date = Feb 12 2025
** [[Precompiled binary linux_ubuntu_16_64: Feb 12 2025]]
** Program Death **