Update the django app to report "raw reads" for a sequence lane.
[htsworkflow.git] / htsworkflow / frontend / templates / samples / library_detail.html
index fbaf1a0c85dbc7c95401494faf3ed756ed449471..4c5c2b889e678a65edd3fb94eef06c0a2a6ddbab 100644 (file)
 <hr/>
 <h2>Count of multi-reads</h2>
 {% for lane in lane_summary_list %}
-<h3>
-  {{lane.cycle_width}} {{ lane.flowcell_id }} lane {{ lane.lane_id }} 
-  {% if lane.end %} end {{ lane.end }}{% endif %}
-</h3>
+  {% if lane.summarized_reads %}
+  <h3>
+    {{lane.cycle_width}} {{ lane.flowcell_id }} lane {{ lane.lane_id }} 
+    {% if lane.end %} end {{ lane.end }}{% endif %}
+  </h3>
   <ul>
     {% for name, counts in lane.summarized_reads.items %}
     <li><b>{{ name }}</b>: {{ counts|intcomma }}</li>
     {% endfor %}
   </ul>
+  {% endif %}
 {% endfor %}
 {% endblock %}