Skip to content

Commit 1ef323a

Browse files
committed
fixing test
1 parent d3804fa commit 1ef323a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra/engine/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def copyfile_workflow(wf_path, result):
127127
for field in attr_fields(result.output):
128128
value = getattr(result.output, field.name)
129129
if is_existing_file(value):
130-
new_path = wf_path / value.name
130+
new_path = wf_path / Path(value).name
131131
copyfile(originalfile=value, newfile=new_path, copy=True, use_hardlink=True)
132132
setattr(result.output, field.name, new_path)
133133
return result

0 commit comments

Comments
 (0)