Commit 21537c30 authored by MARIJON Pierre's avatar MARIJON Pierre

if traget of symbolic link exist override him

parent a008d331
......@@ -4,3 +4,4 @@ include assembly_report/Snakefile
include assembly_report/config.yaml
recursive-include assembly_report/template *
recursive-include assembly_report/script *
recursive-include assembly_report/data *
......@@ -23,7 +23,7 @@ rule bandage:
if os.stat(input.gfa).st_size != 0:
shell(config['bandage']['bin'] + " image " + input.gfa + " " + output.png)
else:
shell("ln -s "+package_path+"/data/no_output.png {output.png}")
shell("ln -fs "+package_path+"/data/no_output.png {output.png}")
rule bandage_colo:
input:
......
Markdown is supported
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