Commit 8d7302a4 authored by root's avatar root
Browse files

Hotfix

parent 1f319fb3
......@@ -92,8 +92,9 @@ def generate(name, path_yaml = "", path_input = DEFAULT_PATH_INPUT, path_output
if ("step_name" in step) and ("rule_name" in step):
# Check in tool yaml if {sample} in output files to add expand
tool_yaml = read_yaml("./tools/"+step["tool_name"]+"/"+step["tool_name"]+".yaml")
tool_yaml = read_yaml(path_input+"/tools/"+step["tool_name"]+"/"+step["tool_name"]+".yaml")
need_expand = False
for command in tool_yaml["commands"]:
if command["name"] == step["rule_name"]:
for output in command["outputs"]:
......@@ -186,4 +187,4 @@ Usage: ./generate_workflow_snakefile.py workflow_name """)
if __name__ == "__main__":
# execute only if run as a script
main()
\ No newline at end of file
main()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment