Skip to content

Commit

Permalink
fix(docs): building didn't work - none value
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Jun 11, 2019
1 parent e77e1ab commit 994dd2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions niworkflows/anat/ants.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ def init_brain_extraction_wf(name='brain_extraction_wf',
from templateflow.api import get as get_template
wf = pe.Workflow(name)

template_spec = template_spec or {}

# suffix passed via spec takes precedence
template_spec['suffix'] = template_spec.get('suffix', bids_suffix)

Expand Down

0 comments on commit 994dd2d

Please sign in to comment.