projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
convert has_key to X in dictionary
[htsworkflow.git]
/
htsworkflow
/
pipelines
/
summary.py
diff --git
a/htsworkflow/pipelines/summary.py
b/htsworkflow/pipelines/summary.py
index 1da11a39b416f8141ca9f97c485d9477ed5dfbcb..8f454e6dbee1c8a804d7950c4c337a437dca3deb 100644
(file)
--- a/
htsworkflow/pipelines/summary.py
+++ b/
htsworkflow/pipelines/summary.py
@@
-132,7
+132,7
@@
class SummaryGA(Summary):
('Lane Results Summary : Read 1', 0),
('Lane Results Summary : Read 2', 1),]
for name, end in table_names:
- if
tables.has_key(name)
:
+ if
name in tables
:
self._extract_lane_results_for_end(tables, name, end)
if len(self.lane_results[0]) == 0: