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

Fix bad check

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