File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ def build_workflow(opts, retval):
490
490
from bids import BIDSLayout
491
491
492
492
from nipype import logging as nlogging , config as ncfg
493
- from niworkflows .utils .bids import collect_participants
493
+ from niworkflows .utils .bids import collect_participants , check_pipeline_version
494
494
from niworkflows .reports import generate_reports
495
495
from ..__about__ import __version__
496
496
from ..workflows .base import init_fmriprep_wf
@@ -522,6 +522,9 @@ def build_workflow(opts, retval):
522
522
retval ['return_code' ] = 1
523
523
return retval
524
524
525
+ # warn if older results exist
526
+ check_pipeline_version (__version__ , output_dir / 'fmriprep' / 'dataset_description.json' )
527
+
525
528
if bids_dir in work_dir .parents :
526
529
build_log .error (
527
530
'The selected working directory is a subdirectory of the input BIDS folder. '
You can’t perform that action at this time.
0 commit comments