Skip to content

Commit

Permalink
Hotfix: Input folder is not deleted when running without split_wrt_ba…
Browse files Browse the repository at this point in the history
…tches
  • Loading branch information
aljpetri committed Oct 30, 2024
1 parent da41cd0 commit 3433364
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion isONform_parallel
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,9 @@ def main(args):
batch_merging_parallel.join_back_via_batch_merging(args.outfolder, args.delta, args.delta_len, args.delta_iso_len_3, args.delta_iso_len_5, args.max_seqs_to_spoa, args.iso_abundance, write_fastq, write_low_abundance)
Parallelization_side_functions.generate_full_output(args.outfolder, write_fastq, write_low_abundance)
Parallelization_side_functions.remove_folders(args.outfolder)
shutil.rmtree(split_directory)
if args.split_wrt_batches:
print("Removed the split directory")
shutil.rmtree(split_directory)
print("Joined back batched files in:", time() - file_handling)
print("Finished full algo after :", time() - globstart)
return
Expand Down

0 comments on commit 3433364

Please sign in to comment.