Skip to content

Commit aab7d6d

Browse files
josephmjeoesteban
authored andcommitted
fix flake8 issues
1 parent b9278ef commit aab7d6d

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

dmriprep/config/reports-spec.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@ sections:
2727
overlaid on the participant's T1w template.
2828
subtitle: Surface reconstruction
2929
- name: Diffusion
30-
ordering: session, acq, run
30+
ordering: session, acquisition, run
3131
reportlets:
3232
- bids: {datatype: dwi, desc: summary, suffix: dwi}
3333
- bids: {datatype: dwi, desc: validation, suffix: dwi}
34-
- bids: {datatype: dwi, suffix: 'dwi'}
35-
caption: Brain mask calculated on the dwi signal (red contour).
36-
subtitle: Brain mask
3734
- name: About
3835
reportlets:
3936
- bids: {datatype: anat, desc: about, suffix: T1w}

dmriprep/workflows/dwi/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,14 @@ def init_dwi_preproc_wf(
130130
# For doc building purposes
131131
if not hasattr(layout, 'parse_file_entities'):
132132
LOGGER.log(25, 'No valid layout: building empty workflow.')
133-
b0_ixs = [0]
134133
metadata = {
135134
'PhaseEncodingDirection': 'j',
136135
}
137136
else:
138137
metadata = layout.get_metadata(dwi_file)
139138

140139
inputnode = pe.Node(niu.IdentityInterface(
141-
fields=['dwi_file', 'b0_ixs',
142-
'bvec_file', 'bval_file']),
140+
fields=['dwi_file', 'bvec_file', 'bval_file']),
143141
name='inputnode')
144142
inputnode.inputs.dwi_file = dwi_file
145143
inputnode.inputs.bvec_file = layout.get_bvec(dwi_file)

0 commit comments

Comments
 (0)