- str += "<div style='background-color:"+getBgColor(cnt,EXP)+";font-size:140%'>"
- str += "%1.2f" % (cnt/1000000.0)+" M"
- else: str += "<div style='background-color:#ff3300;width:100%;font-size:140%'>0 Reads"
- str += "<div style='font-size:70%'>"+R1.library_id+", "+R1.condition.nickname+"</div>"
- str += "</div>"
- str += '</td>'
+ s += ["<div style='background-color:"+getBgColor(cnt,EXP)+";font-size:140%'>"]
+ s += ["%1.2f" % (cnt/1000000.0)+" M"]
+ else:
+ s += ["<div style='background-color:#ff3300;width:100%;font-size:140%'>0 Reads"]
+ s += ["<div style='font-size:70%'>"+R1.library_id+", "+R1.condition.nickname+"</div>"]
+ s += ["</div>"]
+ s += ['</td>']