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 42b52d673ab5a19187f7bb412935f79593c60b1f..c30e06c9ba9df37f836fff494f15a2f711d2fabb 100644 --- a/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py +++ b/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py @@ -132,6 +132,7 @@ def writeExcel(myoptions, configMap, service, piName, laneDict, sampleDict, piDi ''' myRows = uniqueRow() sequencerVocabulary = getVocabulary(service, "SEQUENCER") + runModeVocabulary = getVocabulary(service, "RUN_MODE_VOCABULARY") setOfFlowcells = set () try: # expecting the old running folder name @@ -234,6 +235,11 @@ def writeExcel(myoptions, configMap, service, piName, laneDict, sampleDict, piDi val = sequencerVocabulary[flowCellProperties[property]] else: val = flowCellProperties[property] + + if (property == "RUN_MODE"): + val = runModeVocabulary[flowCellProperties[property]] + else: + val = flowCellProperties[property] createRow(property, val) createRow()