diff --git a/src/analysis/gene_mapper.rs b/src/analysis/gene_mapper.rs index 69ec149..fe13491 100644 --- a/src/analysis/gene_mapper.rs +++ b/src/analysis/gene_mapper.rs @@ -509,13 +509,13 @@ impl AnalysisGeneMapper{ }, Err(MappingError::NoMatch) => { // I want to be able to check why this did not work - report.write_to_ofile( Fspot::Buff1, + /*report.write_to_ofile( Fspot::Buff1, format!(">Cell{cell_id} no gene detected\n{}\n", &data[i].1) ); report.write_to_ofile( Fspot::Buff2, format!(">Cell{cell_id} no gene detected\n{}\n", &data[i].0 ) - ); + );*/ report.no_data +=1; }, Err(MappingError::MultiMatch) => { diff --git a/src/analysis/genomic_mapper.rs b/src/analysis/genomic_mapper.rs index 7dbedf8..0f3bc5a 100644 --- a/src/analysis/genomic_mapper.rs +++ b/src/analysis/genomic_mapper.rs @@ -388,13 +388,13 @@ impl AnalysisGenomicMapper{ }, Err(MappingError::NoMatch) => { // I want to be able to check why this did not work - report.write_to_ofile( Fspot::Buff1, + /*report.write_to_ofile( Fspot::Buff1, format!(">Cell{cell_id} no gene detected\n{}\n", &data[i].1) ); report.write_to_ofile( Fspot::Buff2, format!(">Cell{cell_id} no gene detected\n{}\n", &data[i].0 ) - ); + );*/ report.no_data +=1; }, Err(MappingError::MultiMatch) => { diff --git a/src/lib.rs b/src/lib.rs index ce330b9..91f98c5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,20 +10,6 @@ clippy::explicit_auto_deref )] -pub fn add(left: usize, right: usize) -> usize { - left + right -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn it_works() { - let result = add(2, 2); - assert_eq!(result, 4); - } -} pub mod analysis; pub mod errors; diff --git a/testData/BD_results/.gitignore b/testData/BD_results/.gitignore index bbfce6b..08e9024 100644 --- a/testData/BD_results/.gitignore +++ b/testData/BD_results/.gitignore @@ -11,3 +11,4 @@ Ighm mm39:chr12:113392000:113393500:Ighj_area.fasta test ~.lock* +Untitled.html