None is better than a baddly munged string for when we don't know the cluster/tile...
authorDiane Trout <diane@caltech.edu>
Fri, 11 Sep 2009 00:44:01 +0000 (00:44 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 11 Sep 2009 00:44:01 +0000 (00:44 +0000)
htsworkflow/frontend/samples/views.py

index d79d0b83976adc49dff287850e1a71a80796d4d0..0b7aab4975fb853ac445311410766a497866fa7b 100644 (file)
@@ -252,7 +252,7 @@ def _summary_stats(flowcell_id, lane_id):
             if len(gerald_summary) > end and gerald_summary[end].has_key(lane_id):
                 eland_summary.clusters = gerald_summary[end][lane_id].cluster
             else:
-                eland_summary.clusters = 'n/a'
+                eland_summary.clusters = None
             eland_summary.cycle_width = cycle_width
             if hasattr(eland_summary, 'genome_map'):
                 eland_summary.summarized_reads = runfolder.summarize_mapped_reads(