From: Diane Trout Date: Thu, 10 Sep 2009 23:52:33 +0000 (+0000) Subject: Report if the Summary.htm file is missing the Lane Results Summary block. X-Git-Tag: 0.3.2~30 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=0e71772ada72f96a33afe6b2c49e291f06ea3feb Report if the Summary.htm file is missing the Lane Results Summary block. --- diff --git a/htsworkflow/pipelines/summary.py b/htsworkflow/pipelines/summary.py index dc323ff..c5db2bc 100644 --- a/htsworkflow/pipelines/summary.py +++ b/htsworkflow/pipelines/summary.py @@ -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): """