From 2e48d3f7aaffa4bfdcb73fcfe82aaf3b81970ae7 Mon Sep 17 00:00:00 2001 From: Brandon King Date: Wed, 17 Jun 2009 18:57:31 +0000 Subject: [PATCH] Once again, assumed I had a flowcell object when I actually had a dictionary! --- htsworkflow/frontend/samples/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htsworkflow/frontend/samples/views.py b/htsworkflow/frontend/samples/views.py index 9d355e2..100f3a9 100644 --- a/htsworkflow/frontend/samples/views.py +++ b/htsworkflow/frontend/samples/views.py @@ -320,10 +320,11 @@ def _make_eland_results(flowcell_id, lane, interesting_flowcells): if cur_fc is None: return [] + flowcell = Flowcell.objects.get(flowcell_id=flowcell_id) # Loop throw storage devices if a result has been archived storage_id_list = [] if cur_fc is not None: - for lts in cur_fc.longtermstorage_set.all(): + for lts in flowcell.longtermstorage_set.all(): for sd in lts.storage_devices.all(): # Use barcode_id if it exists if sd.barcode_id is not None and sd.barcode_id != '': -- 2.30.2