So here, what i was trying to change the naming convention of the dual regression output:
for the output: dr_stage2_subject[#SUB].nii.gz -
I thought by running this command I could change the naming convention of the output :
for f in $(cat list_of_filtered_func_data); do dual_regression /Users/Downloads/melodic_IC.nii.gz 1 -1 5000 dualreg_output_$(basename f) $f; done
But it doesn't to be working out the way I want it to.
Instead of #SUB, I want the output to be the basename I have which would be subject number and visit number, because those are both very important to have.
How could I do that? Is that even possible?
|