projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
79c7b79
)
New way of accessing pM for a lane in _summary_stats
author
Brandon King
<kingb@caltech.edu>
Thu, 13 Aug 2009 23:04:35 +0000
(23:04 +0000)
committer
Brandon King
<kingb@caltech.edu>
Thu, 13 Aug 2009 23:04:35 +0000
(23:04 +0000)
htsworkflow/frontend/samples/views.py
patch
|
blob
|
history
diff --git
a/htsworkflow/frontend/samples/views.py
b/htsworkflow/frontend/samples/views.py
index 14e3b02b1fc3fc3440db40878e2beda1b074661e..9ddc5775a395c2f5485f7872a46d81371723c698 100644
(file)
--- a/
htsworkflow/frontend/samples/views.py
+++ b/
htsworkflow/frontend/samples/views.py
@@
-258,8
+258,9
@@
def _summary_stats(flowcell_id, lane_id):
# grab some more information out of the flowcell db
flowcell = FlowCell.objects.get(flowcell_id=flowcell_id)
# grab some more information out of the flowcell db
flowcell = FlowCell.objects.get(flowcell_id=flowcell_id)
- pm_field = 'lane_%d_pM' % (lane_id)
- eland_summary.successful_pm = getattr(flowcell, pm_field)
+ #pm_field = 'lane_%d_pM' % (lane_id)
+ lane_obj = flowcell.lane_set.get(lane_number=lane_id)
+ eland_summary.successful_pm = lane_obj.pM
summary_list.append(eland_summary)
summary_list.append(eland_summary)