projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adapt to python2 returning lists and python3 iterators
[htsworkflow.git]
/
htsworkflow
/
pipelines
/
srf.py
diff --git
a/htsworkflow/pipelines/srf.py
b/htsworkflow/pipelines/srf.py
index 2663ee39bd6453a02b4c9043d096e41e152171a7..b029339c6aefb3f65839f8faca8da84f0a46a39d 100644
(file)
--- a/
htsworkflow/pipelines/srf.py
+++ b/
htsworkflow/pipelines/srf.py
@@
-112,7
+112,7
@@
def create_qseq_patterns(bustard_dir):
qseq_patterns = []
# grab a lane from the dictionary
# I don't think it matters which one.
- k =
lanes.keys()[0]
+ k =
next(iter(lanes.keys()))
# build the list of patterns
for read in lanes[k]:
read = int(read)