Skip to content

Commit d0571fb

Browse files
committed
Rename tot_all_tried to tried_alignment
1 parent ecc221b commit d0571fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ int run_strobealign(int argc, char **argv) {
364364
<< "Number of rescue NAMs: " << std::setw(12) << statistics.n_rescue_nams
365365
<< " Per rescue attempt: " << std::setw(7) << static_cast<float>(statistics.n_rescue_nams) / statistics.nam_rescue << std::endl;
366366
logger.info()
367-
<< "Total mapping sites tried: " << statistics.tot_all_tried << std::endl
367+
<< "Total mapping sites tried: " << statistics.tried_alignment << std::endl
368368
<< "Total calls to ssw: " << statistics.tot_aligner_calls << std::endl
369369
<< "Inconsistent NAM ends: " << statistics.inconsistent_nams << std::endl
370370
<< "Mates rescued by alignment: " << statistics.tot_rescued << std::endl

src/statistics.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ struct AlignmentStatistics {
4141
uint64_t n_rescue_nams{0};
4242
uint64_t tot_aligner_calls{0};
4343
uint64_t tot_rescued{0};
44-
uint64_t tot_all_tried{0};
44+
uint64_t tried_alignment{0};
4545
uint64_t inconsistent_nams{0};
4646
uint64_t nam_rescue{0};
4747

@@ -60,7 +60,7 @@ struct AlignmentStatistics {
6060
this->n_rescue_nams += other.n_rescue_nams;
6161
this->tot_aligner_calls += other.tot_aligner_calls;
6262
this->tot_rescued += other.tot_rescued;
63-
this->tot_all_tried += other.tot_all_tried;
63+
this->tried_alignment += other.tried_alignment;
6464
this->inconsistent_nams += other.inconsistent_nams;
6565
this->nam_rescue += other.nam_rescue;
6666
return *this;
@@ -71,7 +71,7 @@ struct AlignmentStatistics {
7171
this->n_rescue_nams += details.rescue_nams;
7272
this->nam_rescue += details.nam_rescue;
7373
this->tot_rescued += details.mate_rescue;
74-
this->tot_all_tried += details.tried_alignment;
74+
this->tried_alignment += details.tried_alignment;
7575
this->inconsistent_nams += details.inconsistent_nams;
7676

7777
return *this;

0 commit comments

Comments
 (0)