From: Diane Trout Date: Wed, 16 Jul 2008 00:46:45 +0000 (+0000) Subject: The older pipeline runs had a Phi-X control lane which we didn't X-Git-Tag: stanford.caltech-merged-database-2009-jan-15~47 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=0bc38866f6b3bb1fcd00d2ceacf06edb2ea00642 The older pipeline runs had a Phi-X control lane which we didn't run eland against, so the total number of eland entries in the GERALD config.xml file was less than 8. So relax testing that constraint. --- diff --git a/gaworkflow/pipeline/gerald.py b/gaworkflow/pipeline/gerald.py index 311987d..f268767 100644 --- a/gaworkflow/pipeline/gerald.py +++ b/gaworkflow/pipeline/gerald.py @@ -39,7 +39,7 @@ class Gerald(object): container = subtree.find(xml_tag) if container is None: return None - if len(container.getchildren()) != LANES_PER_FLOWCELL: + if len(container.getchildren()) > LANES_PER_FLOWCELL: raise RuntimeError('GERALD config.xml file changed') lanes = [x.tag.split('_')[1] for x in container.getchildren()] index = lanes.index(self._key)