Skip to content

Commit ee1cfb1

Browse files
committed
fix: Drop deprecated TraitDictAnys
1 parent 69f9bdc commit ee1cfb1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/smriprep/interfaces/templateflow.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@ class _TemplateFlowSelectInputSpec(BaseInterfaceInputSpec):
4444
atlas = InputMultiObject(traits.Str, desc='Specify an atlas')
4545
cohort = InputMultiObject(traits.Either(traits.Str, traits.Int), desc='Specify a cohort')
4646
resolution = InputMultiObject(traits.Int, desc='Specify a template resolution index')
47-
template_spec = traits.DictStrAny(
48-
{'atlas': None, 'cohort': None}, usedefault=True, desc='Template specifications'
47+
template_spec = traits.Dict(
48+
traits.Str,
49+
value={'atlas': None, 'cohort': None},
50+
usedefault=True,
51+
desc='Template specifications',
4952
)
5053

5154

0 commit comments

Comments
 (0)