From 0e71772ada72f96a33afe6b2c49e291f06ea3feb Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Thu, 10 Sep 2009 23:52:33 +0000 Subject: [PATCH] Report if the Summary.htm file is missing the Lane Results Summary block. --- htsworkflow/pipelines/summary.py | 3 +++ 1 file changed, 3 insertions(+) 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): """ -- 2.30.2