Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/walaj/SeqLib
Browse files Browse the repository at this point in the history
  • Loading branch information
walaj committed Feb 24, 2017
2 parents a8744c6 + 5eb248a commit 12ab108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SeqLib/BamRecord.h
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ class BamRecord {
uint8_t * p = bam_get_qual(b);
if (!p)
return std::string();
if (!p[0])
return std::string();
//if (!p[0])
// return std::string();
std::string out(b->core.l_qseq, ' ');
for (int32_t i = 0; i < b->core.l_qseq; ++i)
out[i] = (char)(p[i] + offset);
Expand Down
2 changes: 1 addition & 1 deletion htslib

0 comments on commit 12ab108

Please sign in to comment.