Skip to content

Commit

Permalink
reverse duplicated alt_string_v3 in variant stats (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
awenocur authored Aug 5, 2024
1 parent ec45c63 commit 88ac82a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libtiledbvcf/src/stats/variant_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -914,10 +914,7 @@ void VariantStats::update_results() {
}

std::string VariantStats::alt_string(char* ref, char* alt) {
std::string normalized_ref = ref;
std::string normalized_alt = alt;
normalize(normalized_ref, normalized_alt);
return normalized_ref + "," + normalized_alt;
return std::string(ref) + "," + std::string(alt);
}

std::string VariantStats::alt_string_v3(char* ref, char* alt) {
Expand Down

0 comments on commit 88ac82a

Please sign in to comment.