Skip to content

Commit

Permalink
Fix double unwrapped WDL implementation of basename operator
Browse files Browse the repository at this point in the history
  • Loading branch information
illusional committed May 30, 2021
1 parent e6772fe commit 0ee5a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion janis_core/operators/standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def to_python(self, unwrap_operator, *args):

def to_wdl(self, unwrap_operator, *args):
arg = unwrap_operator(args[0])
return f"basename({unwrap_operator(arg)})"
return f"basename({arg})"

def to_cwl(self, unwrap_operator, *args):
arg = unwrap_operator(
Expand Down

0 comments on commit 0ee5a82

Please sign in to comment.