We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7717fb8 commit 36921a1Copy full SHA for 36921a1
python_workflow_definition/src/python_workflow_definition/cwl/__main__.py
@@ -29,7 +29,7 @@ def convert_argument(arg):
29
workflow_function = load_function(file_name=file_lst[0], funct=funct_lst[0])
30
else:
31
m, p = funct_lst[0].rsplit(".", 1)
32
- workflow_function = importlib.import_module(m)
+ workflow_function = getattr(importlib.import_module(m), p)
33
kwargs = {
34
arg.split("=")[0][6:]: convert_argument(arg=arg.split("=")[-1])
35
for arg in argument_lst
0 commit comments