Skip to content

Commit

Permalink
cleaned up code for clarity for release 0.43.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Yenaled committed Jan 3, 2024
1 parent 4961006 commit cd6bf09
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bustools_count.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ void bustools_count(Bustools_opt &opt) {
// This is done at read-level (not UMI-level) so if one UMI maps to one gene's exon but another UMI maps to the other gene's intron, we still discard it
if (count_mtx_priority == 1 && found)
new_ec.erase(std::remove(new_ec.begin(), new_ec.end(), tx), new_ec.end());
else if (count_mtx_priority == 2 && !found)
new_ec.erase(std::remove(new_ec.begin(), new_ec.end(), tx), new_ec.end());
}
}
if (count_mtx_priority != 0)
Expand Down

0 comments on commit cd6bf09

Please sign in to comment.