...
Set up your folders so every subject has the same folder structure. Basically, this script will just replace your subject name ‘FTD001’ and repeat the same command while only changing the subject name ‘FTD001’ for each subject. So you need to make sure your subjects are in same path, e.g. /path/to/folder/FTD####.
Create a .pbs file, replacing the subject (e.g. FTD001) with ${sub}
...
3. Go to Artemis on terminal and specific what your subjects are (e.g. by labelling ‘list’)add your subject IDs to a list.
Code Block |
---|
list='FTD001 FTD002 FTD0025 FTD802 FTD1011 FTD1200' |
Tip: Instead of typing each subject itself, you can do this easily by copying and pasting from use the ‘ls’ command , if you list on a folder with all your subjects insidesubject inside (list = ls 'nameofyoursubjectfolder').
4. Submit the jobs via a ‘for loop’ in the Artemis terminal:
...