From 55f3e5b228a76e6903262cdc718ee40446aaa0b5 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Fri, 13 Feb 2009 01:59:42 +0000 Subject: [PATCH] Aparently some more recent version of multi eland stopped writing the - and just uses fewer fields. when there were too many hits. --- htsworkflow/pipelines/eland.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htsworkflow/pipelines/eland.py b/htsworkflow/pipelines/eland.py index 40507e6..bdbe575 100644 --- a/htsworkflow/pipelines/eland.py +++ b/htsworkflow/pipelines/eland.py @@ -129,7 +129,7 @@ class ElandLane(object): else: # when there are too many hit, eland writes a - where # it would have put the list of hits - if fields[3] == '-': + if len(fields) < 4 or fields[3] == '-': continue zero_mismatches = int(groups.group(1)) if zero_mismatches == 1: -- 2.30.2