indicate we want text not bytes
authorDiane Trout <diane@caltech.edu>
Tue, 8 Sep 2015 23:38:12 +0000 (16:38 -0700)
committerDiane Trout <diane@caltech.edu>
Tue, 8 Sep 2015 23:38:12 +0000 (16:38 -0700)
htsworkflow/pipelines/desplit_fastq.py

index b6d740c33df351388c21739b28e522a675dea249..6fe8d0720f83ec592c555eaf8958426192dcf8de 100644 (file)
@@ -71,7 +71,7 @@ def file_generator(pattern_list):
     """
     for pattern in pattern_list:
         for filename in glob(pattern):
-            yield autoopen(filename, 'r')
+            yield autoopen(filename, 'rt')
 
 
 class DesplitFastq(object):