All the complexity goes into the config building and essentially when we refer to a pipeline, we refer to a script. This allows us to do two things.
Get rid of the multiple for loops.
Get rid of the Sequence and Pipeline Builders.
For #1, I think our “default” option should be for BIDS data. This will simplify things a bunch. The idea is that we can detect what we need to loop over and build the for loop structure using a function.
For #2, it's a bit more complicated. Basically, people shouldn’t need to edit builders. That is, we should have some default builders that work out-of-the-box for simple and complex sequences.
A simple pipeline (e.g.,
myPipeline.m
) should have the following format:All the complexity goes into the config building and essentially when we refer to a pipeline, we refer to a script. This allows us to do two things.
For #1, I think our “default” option should be for BIDS data. This will simplify things a bunch. The idea is that we can detect what we need to loop over and build the for loop structure using a function.
For #2, it's a bit more complicated. Basically, people shouldn’t need to edit builders. That is, we should have some default builders that work out-of-the-box for simple and complex sequences.