From 8ab883126d4ad04080f986a2cdc2a558221abec7 Mon Sep 17 00:00:00 2001 From: kohleman <kohleman> Date: Thu, 5 Feb 2015 08:21:38 +0000 Subject: [PATCH] bugfix: Pool having set a 'NOINDEX' instead of an 'empty' index is now ignored in the Sample Sheet Creation SVN: 33393 --- deep_sequencing_unit/source/Jython/createSampleSheet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deep_sequencing_unit/source/Jython/createSampleSheet.py b/deep_sequencing_unit/source/Jython/createSampleSheet.py index e9298777d15..4165e800ac8 100644 --- a/deep_sequencing_unit/source/Jython/createSampleSheet.py +++ b/deep_sequencing_unit/source/Jython/createSampleSheet.py @@ -406,11 +406,11 @@ def createHiseqSampleSheet(parentDict, flowCellDict, samplesPerLaneDict, flowCel index = '' dualIndex = False lane = parentDict[key]['LANE'][-1:] - - if index1Name in parentDict[key] and indexRead1Length > 0: + + if index1Name in parentDict[key] and indexRead1Length > 0 and (parentDict[key])[index1Name] != 'NOINDEX': index = parentDict[key][index1Name][0:indexRead1Length] - if index2Name in parentDict[key] and indexRead2Length > 0: + if index2Name in parentDict[key] and indexRead2Length > 0 and (parentDict[key])[index2Name] != 'NOINDEX': index = index + configMap['indexSeparator'] + parentDict[key][index2Name][0:indexRead2Length] dualIndex = True -- GitLab