Hi,
I just downloaded and installed the latest version of fast-ashs for MacOs (ashs-fastashs-20170915) and the last version of the U Penn Atlas for fast-ashs (ashs_atlas_upennpmc_20170810).
I have T2 image a voxel resolution of 0.39*0.39*2, and a T1 with a 1*1*1 resolution, which should be within the resolution range of the atlas right?
I am running the script from Terminal on my standalone MacOS X Yosemite. I followed the tutorial Getting Started and everything seemed to work. The only difference is that when I checked the T2 images direction I used the 'darwin' instead of 'linux' with my bash shell Mac Os Terminal, so like this:
> /Users/Pau/Documents/Pau_Work/FMRI_SILTM/ashs/ashs-1.0.0/ext/Darwin/bin/c3d S12238_20181123_001_017_t2_tse_cor_512_p2_2mm.nii -info
My problem is that I can't seem to get the segmentation running properly.
First I go to where I have my T2 and T1 images and where I want the output to go:
> cd /Users/Pau/Documents/Pau_Work/FMRI_SILTM/ashs/Processed_data
Then I try to get the script running like so:
> nohup $ASHS_ROOT/bin/ashs_main.sh -I subj12238 -a $ASHS_ROOT/ashs_atlas_upennpmc_20170810 -g y_S12238_20181123_001_016_t1_mpr_ns_sag_p2_1_0_iso.nii -f S12238_20181123_001_017_t2_tse_cor_512_p2_2mm.nii -w /Users/Pau/Documents/Pau_Work/FMRI_SILTM/ashs/Processed_data/subj12238 &
I always get the following message:
ASHS_WORK: parameter null or not set
That's the only thing that appears on the nohup.out file it produces. It's seems odd because then the script doesn't seem to do anything else, even if I let it run for a while, but I don't get an Exit message unless I actually press 'ctrl + C'.
So it seems the problem is when it tries to convert the working directory to the absolute path.
I tried with different paths and directories but I always get the same message.
Any ideas about what I should try next or where I went wrong?
Thanks in advance,
Pau
Alexander Packard, Ph.D.
Department of Psychology
University of Luebeck
Maria-Goeppert-Str. 9a
D-23562 Luebeck, Germany
Building MFC VIII, 1. OG, Raum 1
Phone: +49 451 3101 3606
Fax: +49 451 3101 3604