Hi Jonathan,
The problem is with aamod_realign_noreslice, not really with the dependencies. aamod_realign_noreslice is very out of date, and describes the meanepi stream as a session level stream:
aap = aas_desc_outputs(aap,i,j,'meanepi',fn(1).name);
but meanepi is really a subject stream. aamod_realign describes meanepi like this:
aap = aas_desc_outputs(aap,subj,'meanepi',fullfile(pth,fn(1).name));
You should probably use aamod_realign, and set the 'reslicewhich' option to 0.
Maybe we should get rid of aamod_realign_noreslice.
Conor