Skip to content

Commit

Permalink
fix: fix bad templateflow identifier, which broke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Nov 7, 2019
1 parent abc1c0d commit 845d573
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions smriprep/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ def _template(inlist):
"""
Return an OrderedDict with templates.
>>> list(_template(['MNI152NLin2009c']).keys())
['MNI152NLin2009c']
>>> list(_template(['MNI152NLin2009cAsym']).keys())
['MNI152NLin2009cAsym']
>>> _template(['MNI152NLin2009c', 'MNI152NLin2009c:res-2'])
OrderedDict([('MNI152NLin2009c', {})])
>>> _template(['MNI152NLin2009cAsym', 'MNI152NLin2009cAsym:res-2'])
OrderedDict([('MNI152NLin2009cAsym', {})])
>>> _template(['MNI152NLin2009c', 'MNI152NLin2009c:res-2',
>>> _template(['MNI152NLin2009cAsym', 'MNI152NLin2009cAsym:res-2',
... 'MNI152NLin6Asym:res-2', 'MNI152NLin6Asym'])
OrderedDict([('MNI152NLin2009c', {}), ('MNI152NLin6Asym', {'res': '2'})])
OrderedDict([('MNI152NLin2009cAsym', {}), ('MNI152NLin6Asym', {'res': '2'})])
"""
from collections import OrderedDict
Expand Down

0 comments on commit 845d573

Please sign in to comment.