Skip to content
Snippets Groups Projects
Commit 8ab88312 authored by kohleman's avatar kohleman
Browse files

bugfix: Pool having set a 'NOINDEX' instead of an 'empty' index is now ignored...

bugfix: Pool having set a 'NOINDEX' instead of an 'empty' index is now ignored in the Sample Sheet Creation

SVN: 33393
parent efceb4b8
No related branches found
No related tags found
No related merge requests found
...@@ -406,11 +406,11 @@ def createHiseqSampleSheet(parentDict, flowCellDict, samplesPerLaneDict, flowCel ...@@ -406,11 +406,11 @@ def createHiseqSampleSheet(parentDict, flowCellDict, samplesPerLaneDict, flowCel
index = '' index = ''
dualIndex = False dualIndex = False
lane = parentDict[key]['LANE'][-1:] 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] 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] index = index + configMap['indexSeparator'] + parentDict[key][index2Name][0:indexRead2Length]
dualIndex = True dualIndex = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment