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

Returns exit status

parent 80e9067d
No related branches found
No related tags found
No related merge requests found
......@@ -380,7 +380,7 @@ def init(output_dir, force_outputdir, sv_list, nstretches, nb_inds, reference, p
print("")
except InputException as e:
eprint(e)
return False
return -1
if quiet or confirm(deletions, sv_sim.variants):
genotypes_for_inds = build_genotypes_vcf_list(deletions, output_vcf, haploid, force_polymorphism, nb_inds,
tmp_dir, prg_path)
......@@ -390,6 +390,7 @@ def init(output_dir, force_outputdir, sv_list, nstretches, nb_inds, reference, p
print("DONE!\n")
else:
print("Aborted!\n")
return 0
def main():
......
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