Commit a3b9b6cb authored by Ryan Herbert's avatar Ryan Herbert
Browse files schedule_fuse only if needed

parent 66a6f8ae
......@@ -140,6 +140,7 @@ def schedule_fuse(sample_set_ids, config_ids):
if row:
args.append([row.sample_set_membership.sequence_file_id, row.results_file.config_id,, row.sample_set_membership.sample_set_id, False])
if len(args) > 0:
task = scheduler.queue_task('refuse', [args],
repeats = 1, timeout = defs.TASK_TIMEOUT)
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