Skip to content

Commit

Permalink
Add toString(Overlap_t) to report the type of overlap.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed May 12, 2020
1 parent c1e4ac2 commit 4be7010
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/overlapInCore/liboverlap/prefixEditDistance.H
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ enum Overlap_t {
DOVETAIL
};

static
const
char *
toString(Overlap_t k) {
switch (k) {
case NONE: return("NONE"); break;
case LEFT_BRANCH_PT: return("LEFT_BRANCH_PT"); break;
case RIGHT_BRANCH_PT: return("RIGHT_BRANCH_PT"); break;
case DOVETAIL: return("DOVETAIL"); break;
default: return("UNKNOWN"); break;
}
};


// the input to Extend_Alignment.
struct Match_Node_t {
Expand Down

0 comments on commit 4be7010

Please sign in to comment.