Skip to content

Commit 157ce59

Browse files
committed
fix function name
1 parent 57c5c4d commit 157ce59

File tree

1 file changed

+1
-1
lines changed
  • python_workflow_definition/src/python_workflow_definition/cwl

1 file changed

+1
-1
lines changed

python_workflow_definition/src/python_workflow_definition/cwl/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def load_function(file_name, funct):
99
module = importlib.util.module_from_spec(spec)
1010
sys.modules["workflow"] = module
1111
spec.loader.exec_module(module)
12-
return getattr(module, funct)
12+
return getattr(module, funct.split(".")[-1])
1313

1414

1515
def convert_argument(arg):

0 commit comments

Comments
 (0)