Skip to content

Commit 6b4e72a

Browse files
committed
docs: fmriprep is necessary to build docs
1 parent b890160 commit 6b4e72a

File tree

2 files changed

+19
-28
lines changed

2 files changed

+19
-28
lines changed

dmriprep/workflows/base.py

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -367,34 +367,24 @@ def init_single_subject_wf(subject_id):
367367
use_bbr=True,
368368
)
369369

370-
workflow.connect(
371-
[
372-
# T1w Mask
373-
(
374-
anat_preproc_wf,
375-
t1w_brain,
376-
[
377-
("outputnode.t1w_preproc", "in_file"),
378-
("outputnode.t1w_mask", "in_mask"),
379-
],
380-
),
381-
# BBRegister
382-
(split_info, bbr_wf, [("dwi_file", "inputnode.in_file")]),
383-
(t1w_brain, bbr_wf, [("out_file", "inputnode.t1w_brain")]),
384-
(
385-
anat_preproc_wf,
386-
bbr_wf,
387-
[("outputnode.t1w_dseg", "inputnode.t1w_dseg")],
388-
),
389-
(fsinputnode, bbr_wf, [("subjects_dir", "inputnode.subjects_dir")]),
390-
(bids_info, bbr_wf, [("subject", "inputnode.subject_id")]),
391-
(
392-
anat_preproc_wf,
393-
bbr_wf,
394-
[("outputnode.fsnative2t1w_xfm", "inputnode.fsnative2t1w_xfm")],
395-
),
396-
]
397-
)
370+
# fmt:off
371+
workflow.connect([
372+
# T1w Mask
373+
(anat_preproc_wf, t1w_brain, [
374+
("outputnode.t1w_preproc", "in_file"),
375+
("outputnode.t1w_mask", "in_mask"),
376+
]),
377+
# BBRegister
378+
(split_info, bbr_wf, [("dwi_file", "inputnode.in_file")]),
379+
(t1w_brain, bbr_wf, [("out_file", "inputnode.t1w_brain")]),
380+
(anat_preproc_wf, bbr_wf, [("outputnode.t1w_dseg", "inputnode.t1w_dseg")]),
381+
(fsinputnode, bbr_wf, [("subjects_dir", "inputnode.subjects_dir")]),
382+
(bids_info, bbr_wf, [("subject", "inputnode.subject_id")]),
383+
(anat_preproc_wf, bbr_wf, [
384+
("outputnode.fsnative2t1w_xfm", "inputnode.fsnative2t1w_xfm")
385+
]),
386+
])
387+
# fmt:on
398388

399389
fmap_estimation_wf = init_fmap_estimation_wf(
400390
subject_data["dwi"], debug=config.execution.debug

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
git+https://github.com/AleksandarPetrov/napoleon.git@0dc3f28a309ad602be5f44a9049785a1026451b3#egg=sphinxcontrib-napoleon
22
git+https://github.com/rwblair/sphinxcontrib-versioning.git@39b40b0b84bf872fc398feff05344051bbce0f63#egg=sphinxcontrib-versioning
3+
fmriprep
34
nbsphinx
45
nipype ~= 1.4
56
git+https://github.com/nipreps/niworkflows.git@master#egg=niworkflows

0 commit comments

Comments
 (0)