Skip to content

Commit b44c23f

Browse files
committed
display pileup without color first since some HTML is too big to render
avoid blank pileup table
1 parent 7ff2e10 commit b44c23f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/read.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,15 @@ void Read::printHtmlTDWithBreaks(ofstream& file, vector<int>& breaks, int mutid,
8989
}
9090

9191
string Read::makeHtmlSeqWithQual(int start, int length) {
92-
//new HTML report is dynamically created by JavaScript
93-
//so, just return
94-
return "";
95-
stringstream ss;
92+
//colorful HTML report is dynamically created by JavaScript
93+
//here we return gray report first
94+
return mSeq.mStr.substr(start, length);
95+
96+
/*stringstream ss;
9697
for(int i=start;i<start+length && i<mSeq.length(); i++) {
9798
ss << "<a title='" << mQuality[i] << "'><font color='" << qualityColor(mQuality[i]) << "'>"<< mSeq.mStr[i] << "</font></a>";
9899
}
99-
return ss.str();
100+
return ss.str();*/
100101
}
101102

102103
void Read::escapeSpecialQualityChar(string& str) {

0 commit comments

Comments
 (0)