Dear FSL_Nets experts,
I came across the similar error two days ago. I went through the FSL Archive and found some answers. I tried but it still showed the same error when I ran fsl_nets.
First, I located the slices_summary:
leledeMacBook-Pro:resting_state_FSLNets lele$ which slices_summary
/usr/local/fsl/bin/slices_summary
I tried to check the slices_summary executable and it worked. I can also use slices_summary to do the following command outside the matlab:
slices_summary /Users/lele/Desktop/resting_state_FSLNets/group_melodic/melodic_IC.nii.gz 4 $FSLDIR/data/standard/MNI152_T1_2mm /Users/lele/Desktop/resting_state_FSLNets/group_melodic/melodic_IC.nii.gz.sum
It still showed the same error when I ran fsl_nets.
Second, I copy this file to the current folder where I ran fsl_nets and make it executable by doing this:
cp /usr/local/fsl/bin/slices_summary /Users/lele/Desktop/resting_state_FSLNets/
chmod +x /Users/lele/Desktop/resting_state_FSLNets/slices_summary
Also the same error when I ran fsl_nets.
Here is the error information in matlab when I ran fsl_nets:
--------------------------------------------------------------------------------------------------------------------------------------------
/bin/bash: slices_summary: command not found
Error using imread>get_full_filename (line 516)
File "/private/var/folders/xn/xqzh0j0x4hbcd23hn9q0kysc0000gn/T/tp1b5af7dc_2ca5_413f_96e3_ddee7340464d.png" does
not exist.
Error in imread (line 340)
fullname = get_full_filename(filename);
Error in nets_nodepics (line 16)
pic=imread(sprintf('%s.png',grot));
Error in nets_examples_xiao (line 42)
nets_nodepics(ts,group_maps); % quick views of the good and bad components
--------------------------------------------------------------------------------------------------------------------------------------------
Any help is appreciated!
All the best,
Xiao
########################################################################
To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
|