Running SynB0-DISCO for multiple subjects in directory

Dear All. I’ve recently come across SynB0-DISCO and it’s working very well for my “historical” data set. I’d like to integrate it into my processing pipeline. Has anyone been able to use for_each or a similar command/technique to run SynB0-DISCO sequentially for a number of different subjects within the same directory folder? I can run it smoothly one subject at a time, but that’s not very practical in the longer term.

I think you need to creat a script for running all subjects, such as for loop and so on. what’s you code for each single subjects of SynB0-DISCO