projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
540d338
)
Don't crash if we can't find the flowcell run xml file
author
Diane Trout
<diane@caltech.edu>
Sat, 4 Apr 2009 00:41:40 +0000
(
00:41
+0000)
committer
Diane Trout
<diane@caltech.edu>
Sat, 4 Apr 2009 00:41:40 +0000
(
00:41
+0000)
htsworkflow/frontend/samples/views.py
patch
|
blob
|
history
diff --git
a/htsworkflow/frontend/samples/views.py
b/htsworkflow/frontend/samples/views.py
index 3a37a8c68e1d2cd754e1c4129d213d235f68b2e7..ee426261179244cd6243aaaf4e225db0549e82aa 100644
(file)
--- a/
htsworkflow/frontend/samples/views.py
+++ b/
htsworkflow/frontend/samples/views.py
@@
-310,7
+310,10
@@
def get_eland_result_type(pathname):
def _make_eland_results(flowcell_id, lane, interesting_flowcells):
- cur_fc = interesting_flowcells[flowcell_id]
+ cur_fc = interesting_flowcells.get(flowcell_id, None)
+ if cur_fc is None:
+ return []
+
results = []
for cycle in cur_fc.keys():
result_path = cur_fc[cycle]['eland_results'][lane]