Dear Melanie, Thank you very much, this is super helpful. Can I ask you, how did you find out that the dependencies stay with the first? I was trying to look in the script, but there is no clear indication to that (at least not that I found). Best regards, David On Mon, Mar 19, 2012 at 9:09 AM, Canterberry, Melanie <[log in to unmask]>wrote: > David – I tried this recently. If you just replicate the original one, the > dependencies will stay with the first one instead of carrying over. To > avoid the confusion of dependencies, I would suggest creating 10 separate > batch files with your template, then loading them all at once, rather than > replicating them all into one batch.**** > > ** ** > > Melanie **** > > ** ** > > ** ** > > *From:* SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] *On > Behalf Of *David ro > *Sent:* Sunday, March 18, 2012 2:53 PM > *To:* [log in to unmask] > *Subject:* [SPM] dependencies in the preprocessing batch**** > > ** ** > > Hello SPMers,**** > > ** ** > > I have a question about the use of dependencies in preprocessing analysis > batch. **** > > ** ** > > Specifically, I would like to use 3 different modules - spatial (realign & > unwarp); normalise (estimate and write); and Smoothing. **** > > ** ** > > I have 10 subjects. So what I like to do is to create a combination of the > 3 modules as a template, and define in advance the depedencies between the > modules (e.g., for "estimate and write), source image needs to be defined > using dependency to the previous module o frealighn and unwrap). **** > > ** ** > > Then I'd like to replicate this 3 combined modules 10 times, and then > simply insert the data for all the subjects.**** > > ** ** > > My question is as follow: does the dependency that I've defined to the > template is going to be replicated (such that, for example, the "realign > and unwrap" of subject 5 will be connected to the "normalised" of subject > 5), OR - all the dependencies are going to be connected to the first module > (which will be subject 1)? Obviously, the first option is the desired one, > and the second the problematic one. **** > > ** ** > > Thanks in advance for your help,**** > > ** ** > > David Ro.**** >