From a8ffb2c7ed135603f355054ac0c3795df100bfeb Mon Sep 17 00:00:00 2001 From: kedhammar Date: Thu, 14 Nov 2024 15:36:54 +0100 Subject: [PATCH] bugfix --- VERSIONLOG.md | 4 ++++ scripts/bravo_csv.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/VERSIONLOG.md b/VERSIONLOG.md index 0ecaaefe..c96d7baa 100644 --- a/VERSIONLOG.md +++ b/VERSIONLOG.md @@ -1,5 +1,9 @@ # Scilifelab_epps Version Log +## 20241114.1 + +Bugfix Bravo CSV for qPCR. Needed better logic for isolating physical output artifacts. + ## 20241108.1 Add col for qPCR dilution vol diff --git a/scripts/bravo_csv.py b/scripts/bravo_csv.py index 3eec3496..ca1afa41 100644 --- a/scripts/bravo_csv.py +++ b/scripts/bravo_csv.py @@ -239,7 +239,8 @@ def compute_transfer_volume(currentStep, lims, log): def aliquot_fixed_volume(currentStep, lims, volume, log): data = [] for inp, out in currentStep.input_output_maps: - if out["output-type"] == "ResultFile": + # Only act on output artifacts with a defined location + if out["uri"].location != (None, None): obj = {} obj["src_fc"] = ( inp["uri"].location[0].name.replace(",", "_").replace(" ", "_")