File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
nipype/interfaces/utility Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,6 @@ class RenameInputSpec(DynamicTraitedSpec):
213
213
"replacement inputs" )
214
214
use_fullpath = traits .Bool (
215
215
False , usedefault = True , desc = "Use full path as input to regex parser" )
216
- copy = traits .Bool (False , usedefault = True , desc = "Whether to copy the file "
217
- "(True) or try to symlink it (False)" )
218
216
219
217
220
218
class RenameOutputSpec (TraitedSpec ):
@@ -303,7 +301,7 @@ def _rename(self):
303
301
def _run_interface (self , runtime ):
304
302
runtime .returncode = 0
305
303
out_file = os .path .join (runtime .cwd , self ._rename ())
306
- _ = copyfile (self .inputs .in_file , out_file , copy = self . inputs . copy )
304
+ _ = copyfile (self .inputs .in_file , out_file )
307
305
self ._results ['out_file' ] = out_file
308
306
return runtime
309
307
You can’t perform that action at this time.
0 commit comments