From 306e4818670233dc8fd333de97ef67036525ba94 Mon Sep 17 00:00:00 2001 From: rhysnewell Date: Thu, 25 Jun 2020 16:06:20 +1000 Subject: [PATCH] removing par_iter on process_bam --- src/estimation/contig.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/estimation/contig.rs b/src/estimation/contig.rs index 51a28768..b8c03ba9 100644 --- a/src/estimation/contig.rs +++ b/src/estimation/contig.rs @@ -222,7 +222,7 @@ pub fn pileup_variants 0 { info!("Performing guided variant calling..."); - bam_readers.into_par_iter().enumerate().for_each(|(sample_idx, bam_generator)| { + bam_readers.into_iter().enumerate().for_each(|(sample_idx, bam_generator)| { process_bam(bam_generator, sample_idx, sample_count, @@ -253,7 +253,7 @@ pub fn pileup_variants 0 { long_threads = std::cmp::max(n_threads / longreads.len(), 1); - longreads.into_par_iter().enumerate().for_each(|(sample_idx, bam_generator)| { + longreads.into_iter().enumerate().for_each(|(sample_idx, bam_generator)| { process_bam(bam_generator, sample_idx, sample_count,