Report if the Summary.htm file is missing the Lane Results Summary block.
authorDiane Trout <diane@caltech.edu>
Thu, 10 Sep 2009 23:52:33 +0000 (23:52 +0000)
committerDiane Trout <diane@caltech.edu>
Thu, 10 Sep 2009 23:52:33 +0000 (23:52 +0000)
htsworkflow/pipelines/summary.py

index dc323ff08f9193673c46d591be772041a27afcb5..c5db2bc5e1bb04de24c99704174809a8b9634bac 100644 (file)
@@ -1,6 +1,7 @@
 """
 Analyze the Summary.htm file produced by GERALD
 """
+import logging
 import types
 from pprint import pprint
 
@@ -186,6 +187,8 @@ class Summary(object):
         for name, end in table_names:
           if tables.has_key(name):
             self._extract_lane_results_for_end(tables, name, end)
+        else:
+            logging.warning("No Lane Results Summary Found in %s" % (pathname,))
 
     def _extract_lane_results_for_end(self, tables, table_name, end):
         """