Skip to content

Commit 9856211

Browse files
committed
fix: use Directory from base
1 parent 0de7e95 commit 9856211

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/elastix/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
"""
1717

1818
from ..base import (CommandLine, CommandLineInputSpec, isdefined,
19-
TraitedSpec, File, traits, InputMultiPath)
19+
TraitedSpec, File, Directory, traits, InputMultiPath)
2020
from ... import logging
2121
logger = logging.getLogger('interface')
2222

2323

2424
class ElastixBaseInputSpec(CommandLineInputSpec):
25-
output_path = traits.Directory('./', exists=True, mandatory=True, usedefault=True,
26-
argstr='-out %s', desc='output directory')
25+
output_path = Directory('./', exists=True, mandatory=True, usedefault=True,
26+
argstr='-out %s', desc='output directory')
2727
num_threads = traits.Int(1, argstr='-threads %01d',
2828
desc='set the maximum number of threads of elastix')

0 commit comments

Comments
 (0)