From 7e94cf20b0bd05e73c50976cb1f5196e776ebb1e Mon Sep 17 00:00:00 2001 From: E Rasche Date: Mon, 7 Aug 2017 10:48:16 +0200 Subject: [PATCH] fix todo --- scripts/grt/grt.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/grt/grt.py b/scripts/grt/grt.py index f92c7568c06..8533a5cd899 100644 --- a/scripts/grt/grt.py +++ b/scripts/grt/grt.py @@ -262,8 +262,10 @@ def main(argv): .filter(model.Job.id > offset_start) \ .filter(model.Job.id <= min(end_job_id, offset_start + args.batch_size)) \ .all(): + # If the tool is blacklisted, exclude everywhere + if job[2] in blacklisted_tools: + continue - # TODO: blacklisted handle_job.write(str(job[0])) # id handle_job.write('\t') handle_job.write(job[2]) # tool_id