Skip to content

Commit f25e8c6

Browse files
committed
rf: add warning when mismatch found
1 parent c469937 commit f25e8c6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

fmriprep/cli/run.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,11 @@ def build_workflow(opts, retval):
523523
return retval
524524

525525
# warn if older results exist
526-
check_pipeline_version(__version__, output_dir / 'fmriprep' / 'dataset_description.json')
526+
msg = check_pipeline_version(
527+
__version__, output_dir / 'fmriprep' / 'dataset_description.json'
528+
)
529+
if msg is not None:
530+
build_log.warning(msg)
527531

528532
if bids_dir in work_dir.parents:
529533
build_log.error(

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ install_requires =
2424
nibabel ~= 3.0.0rc1
2525
nipype >=1.3.1
2626
nitime
27-
niworkflows ~= 1.1.3
27+
niworkflows ~= 1.1.5
2828
numpy
2929
pandas
3030
psutil >=5.4

0 commit comments

Comments
 (0)