From 1ee259a082dfadc205e6dfaf49dea97e1dbac2ca Mon Sep 17 00:00:00 2001
From: kohleman <kohleman>
Date: Fri, 29 Aug 2014 13:22:58 +0000
Subject: [PATCH] - bug fix for pool samples which have NOINDEX set as an index

SVN: 32389
---
 deep_sequencing_unit/source/Jython/createSampleSheet_nextseq.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deep_sequencing_unit/source/Jython/createSampleSheet_nextseq.py b/deep_sequencing_unit/source/Jython/createSampleSheet_nextseq.py
index 558b4a74816..b8045213b59 100644
--- a/deep_sequencing_unit/source/Jython/createSampleSheet_nextseq.py
+++ b/deep_sequencing_unit/source/Jython/createSampleSheet_nextseq.py
@@ -491,7 +491,7 @@ def createMiSeqSampleSheet(parentDict, flowCellDict, configMap, index1Vocabulary
   for key in parentDict.keys():
     lane = parentDict[key]['LANE'][-1:]
     # If no index then just skip this  sample
-    if configMap['index1Name'] not in parentDict[key]:
+    if (configMap['index1Name'] not in parentDict[key]) or (parentDict[key][configMap['index1Name']] == 'NOINDEX'):
       continue
     index1 = parentDict[key][configMap['index1Name']]
 
-- 
GitLab