Commit 993a8aaf authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

task.py: run_fuse(), use an id depending on the sample_set

We want to be able to retrieve the last fuses on every sample set
parent 6a6340d5
......@@ -456,7 +456,7 @@ def run_fuse(id_file, id_config, id_data, sample_set_id, clean_before=True, clea
from subprocess import Popen, PIPE, STDOUT, os
out_folder = defs.DIR_OUT_VIDJIL_ID % id_data
output_filename = defs.BASENAME_OUT_VIDJIL_ID % id_data
output_filename = defs.BASENAME_OUT_VIDJIL_ID % id_data + '-%s' % sample_set_id
if clean_before:
cmd = "rm -rf "+out_folder
......
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