From 234887ea9f7429ce1ce9a40c2f26b35c3c47bd25 Mon Sep 17 00:00:00 2001
From: kohleman <kohleman>
Date: Fri, 11 Dec 2015 16:15:56 +0000
Subject: [PATCH] replaced flowcell ID by Runfolder Name

SVN: 35297
---
 .../source/Jython/create_QGF_Invoices_simplified.py           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py b/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py
index 8a49f3884a0..535ad9d9a6c 100644
--- a/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py
+++ b/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py
@@ -139,7 +139,7 @@ def writeExcel(myoptions, configMap, service, piName, laneDict, sampleDict, piDi
   setOfFlowcells = set ()
   try:
     # expecting the old running folder name
-    runDate, seqId, runningNumber, flowcell = flowcellName.split("_")
+    runDate, seqId, runningNumber, flowcell = flowCellProperties["RUN_NAME_FOLDER"].split("_")
     flowcell = flowcell[1:]
   except:
     flowcell = flowcellName
@@ -240,7 +240,7 @@ def writeExcel(myoptions, configMap, service, piName, laneDict, sampleDict, piDi
   createRow()
   createRow()
   createRow()
-  createRow("Run Folder Name", flowcellName, 0, 10, True)
+  createRow("Run Folder Name", flowCellProperties["RUN_NAME_FOLDER"], 0, 10, True)
 
   createRow()
   createRow()
-- 
GitLab