Skip to content

Commit 1635f4e

Browse files
committed
address @effigies' comments
1 parent 5e7b035 commit 1635f4e

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

fmriprep/cli/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def build_workflow(opts, retval):
607607

608608
# First check that bids_dir looks like a BIDS folder
609609
bids_dir = os.path.abspath(opts.bids_dir)
610-
layout = BIDSLayout(bids_dir, validate=False)
610+
layout = BIDSLayout(bids_dir, validate=not opts.skip_bids_validation)
611611
subject_list = collect_participants(
612612
layout, participant_label=opts.participant_label)
613613

fmriprep/workflows/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,7 @@ def init_single_subject_wf(layout, subject_id, task_id, echo_idx, name, reportle
425425
name='bidssrc')
426426

427427
bids_info = pe.Node(BIDSInfo(
428-
bids_dir=layout.root, bids_validate=False),
429-
name='bids_info', run_without_submitting=True)
428+
bids_dir=layout.root, bids_validate=False), name='bids_info')
430429

431430
summary = pe.Node(SubjectSummary(output_spaces=output_spaces, template=template),
432431
name='summary', run_without_submitting=True)

fmriprep/workflows/fieldmap/phdiff.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ def _pick1st(inlist):
7373
return inlist[0]
7474

7575
# Read phasediff echo times
76-
meta = pe.Node(ReadSidecarJSON(bids_validate=False), name='meta',
77-
mem_gb=0.01, run_without_submitting=True)
76+
meta = pe.Node(ReadSidecarJSON(bids_validate=False), name='meta', mem_gb=0.01)
7877

7978
# Merge input magnitude images
8079
magmrg = pe.Node(IntraModalMerge(), name='magmrg')

0 commit comments

Comments
 (0)