Skip to content

Commit

Permalink
Add toString(sqRead_version).
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Feb 12, 2019
1 parent b241431 commit dbf63ed
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/stores/sqRead.H
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@ sqRead_setDefaultVersion(sqRead_version v) {
sqRead_defaultVersion = v;
};

inline
const char *
toString(sqRead_version v) {
switch (v) {
case sqRead_latest: return("latest"); break;
case sqRead_raw: return("raw"); break;
case sqRead_corrected: return("corrected"); break;
case sqRead_trimmed: return("trimmed"); break;
}

return("unknown");
}



class sqRead;
Expand Down

0 comments on commit dbf63ed

Please sign in to comment.