Skip to content

Commit

Permalink
set n_mitochondrial_reads_ to 0 when clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
aawdeh committed Feb 5, 2024
1 parent 2f10191 commit 71022f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/TagSort/src/metricgatherer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ MetricGatherer::~MetricGatherer() {}
void MetricGatherer::clearCellAndGeneCommon()
{
n_reads_ = 0;
n_mitochondrial_reads_ = 0;
// noise_reads = 0; //# long polymers, N-sequences; NotImplemented
fragment_histogram_.clear();
molecule_histogram_.clear();
Expand Down

0 comments on commit 71022f6

Please sign in to comment.