Commit 39ca7258 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix bad check

parent 13a95bef
......@@ -602,7 +602,7 @@ class JobManager:
if not getattr(validators, self.aln_format)(self.align.get_path()):
self.set_job_status("fail", "Alignment file is invalid. Please check your file.")
return False, True, None
elif input_type != "backup":
if self.config.batch_system_type != "local" and file_size >= getattr(self.config,
"min_%s_size" % input_type):
should_be_local = False
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