Initial port to python3
[htsworkflow.git] / htsworkflow / pipelines / srf.py
index 5a6c969bd768aa09fab68e005f9ef5caae7ffcea..94445b600f2232b60bf35d35224934e89b5db389 100644 (file)
@@ -111,7 +111,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 = list(lanes.keys())[0]
       # build the list of patterns
       for read in lanes[k]:
         read = int(read)