Skip to content
Snippets Groups Projects
Commit c83ba8bd authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Disallow run twice with a different batch size

parent 879faae0
No related branches found
No related tags found
No related merge requests found
......@@ -705,6 +705,11 @@ class CnvPipeline:
self._rerun_tools(new_tools=tools)
else:
if self.config_data["batches"] != batches:
print("Error: rerun with a different number of batch size not allowed. Exiting...", file=sys.stderr)
exit(1)
if chromosomes == "all":
chromosomes = self._chromosomes_list(final_fai, not force_all_chr)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment