Skip to content

Commit 0ee5a82

Browse files
committed
Fix double unwrapped WDL implementation of basename operator
1 parent e6772fe commit 0ee5a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

janis_core/operators/standard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def to_python(self, unwrap_operator, *args):
142142

143143
def to_wdl(self, unwrap_operator, *args):
144144
arg = unwrap_operator(args[0])
145-
return f"basename({unwrap_operator(arg)})"
145+
return f"basename({arg})"
146146

147147
def to_cwl(self, unwrap_operator, *args):
148148
arg = unwrap_operator(

0 commit comments

Comments
 (0)