Dear Gordon,
no elegant suggestion there, but removing the file 'mask.img' should be
enough or you can edit spm_spm.m line 350 to prevent the question to be
asked:
abort = false; % instead of spm_input(...)
Best,
Guillaume.
Waiter, Dr Gordon D. wrote:
> Kathy,
>
> Thanks, but I'm trying to run everything through spm_jobman and there isn't a delete directory or files available in the batch utilities.
>
> Since I have 40 participants I don't really want to have to go through everyone and delete the directory (although I could simply do it via a system call in matlab as part of my iteration) I thought there might be a more elegant way. Especially since SPM2 allowed you to specify whether overwrite was automatic or not.
>
> Gordon
>
>
> Gordon D. Waiter PhD CSci MIPEM CPhys MInstP
> Aberdeen Biomedical Imaging Centre
> Division of Applied Medicine
> University of Aberdeen
> Research MRI Centre
> Lilian Sutton Building
> Foresterhill
> Aberdeen
> AB25 2ZD
>
> Tel: +44 (0)1224 559725
> Fax: +44 (0)1224 559718
>
> [log in to unmask]
> www.abdn.ac.uk/clsm/imaging
>
> -----Original Message-----
> From: Kathy Pearson [mailto:[log in to unmask]]
> Sent: 05 March 2009 16:27
> To: Waiter, Dr Gordon D.; [log in to unmask]
> Subject: RE: [SPM] Model overwrite
>
> Gordon,
>
> A simple thing to do is to just remove SPM.mat and all other model outputs before re-running.
>
> Kathy Pearson
> UAB Psychology
>
> -----Original Message-----
> From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On Behalf Of Waiter, Dr Gordon D.
> Sent: Thursday, March 05, 2009 10:08 AM
> To: [log in to unmask]
> Subject: [SPM] Model overwrite
>
> I'm using a matlab script to iteratively change a batch mode job in SPM5 to re-model some data. Is there a way to stop the "stop continue overwrite"
> pop-up and simply force an over-write.
>
> Gordon
>
>
> Gordon D. Waiter PhD CSci MIPEM CPhys MInstP Aberdeen Biomedical Imaging Centre Division of Applied Medicine University of Aberdeen Research MRI Centre Lilian Sutton Building Foresterhill Aberdeen
> AB25 2ZD
>
> Tel: +44 (0)1224 559725
> Fax: +44 (0)1224 559718
>
> [log in to unmask]
> www.abdn.ac.uk/clsm/imaging
>
>
> The University of Aberdeen is a charity registered in Scotland, No SC013683.
>
>
>
> The University of Aberdeen is a charity registered in Scotland, No SC013683.
>
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|