File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ class DataSinkInputSpec(DynamicTraitedSpec, BaseInterfaceInputSpec):
183
183
desc = 'Folder within base directory in which to store output' )
184
184
parameterization = traits .Bool (True , usedefault = True ,
185
185
desc = 'store output in parametrized structure' )
186
- strip_dir = traits . Directory (desc = 'path to strip out of filename' )
186
+ strip_dir = Directory (desc = 'path to strip out of filename' )
187
187
substitutions = InputMultiPath (traits .Tuple (traits .Str , traits .Str ),
188
188
desc = ('List of 2-tuples reflecting string '
189
189
'to substitute and string to replace '
@@ -206,10 +206,9 @@ class DataSinkInputSpec(DynamicTraitedSpec, BaseInterfaceInputSpec):
206
206
207
207
# Set call-able inputs attributes
208
208
def __setattr__ (self , key , value ):
209
- import nipype .interfaces .traits_extension as nit
210
209
211
210
if key not in self .copyable_trait_names ():
212
- if not nit . isdefined (value ):
211
+ if not isdefined (value ):
213
212
super (DataSinkInputSpec , self ).__setattr__ (key , value )
214
213
self ._outputs [key ] = value
215
214
else :
You can’t perform that action at this time.
0 commit comments