projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
77345cb
)
Lane number fix for _summary_stats function and library_to_flowcells view
author
Brandon King
<kingb@caltech.edu>
Thu, 13 Aug 2009 22:38:54 +0000
(22:38 +0000)
committer
Brandon King
<kingb@caltech.edu>
Thu, 13 Aug 2009 22:38:54 +0000
(22:38 +0000)
htsworkflow/frontend/samples/views.py
patch
|
blob
|
history
diff --git
a/htsworkflow/frontend/samples/views.py
b/htsworkflow/frontend/samples/views.py
index 2db0f0fd1cd2769cc267c7b717115b5b938bfa1a..14e3b02b1fc3fc3440db40878e2beda1b074661e 100644
(file)
--- a/
htsworkflow/frontend/samples/views.py
+++ b/
htsworkflow/frontend/samples/views.py
@@
-99,16
+99,16
@@
def library_to_flowcells(request, lib_id):
flowcell_id, id = parse_flowcell_id(fc.flowcell_id)
if flowcell_id not in interesting_flowcells:
interesting_flowcells[flowcell_id] = get_flowcell_result_dict(flowcell_id)
flowcell_id, id = parse_flowcell_id(fc.flowcell_id)
if flowcell_id not in interesting_flowcells:
interesting_flowcells[flowcell_id] = get_flowcell_result_dict(flowcell_id)
- flowcell_list.append((fc.flowcell_id, lane))
+ flowcell_list.append((fc.flowcell_id, lane
.lane_number
))
flowcell_list.sort()
lane_summary_list = []
eland_results = []
flowcell_list.sort()
lane_summary_list = []
eland_results = []
- for fc, lane in flowcell_list:
- lane_summary, err_list = _summary_stats(fc, lane)
+ for fc, lane
_number
in flowcell_list:
+ lane_summary, err_list = _summary_stats(fc, lane
_number
)
- eland_results.extend(_make_eland_results(fc, lane, interesting_flowcells))
+ eland_results.extend(_make_eland_results(fc, lane
_number
, interesting_flowcells))
lane_summary_list.extend(lane_summary)
context = {
lane_summary_list.extend(lane_summary)
context = {