Skip to content

Commit bcb4c7c

Browse files
Further simplification
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent a952a58 commit bcb4c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/utils/nipype2boutiques.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def get_boutiques_output(outputs, name, spec, interface, tool_inputs):
477477
# If extensions all the same, set path template as
478478
# wildcard + extension. Otherwise just use a wildcard
479479
if len(extensions) == 1:
480-
output["path-template"] = "*" + extensions[0]
480+
output["path-template"] = "*" + extensions.pop()
481481
else:
482482
output["path-template"] = "*"
483483
return output

0 commit comments

Comments
 (0)