Skip to content

Commit a8c35aa

Browse files
committed
fix import for py27
1 parent e7d27a8 commit a8c35aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

qiita_files/parse/fastq.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88

99
import numpy as np
1010
from qiita_files.util import open_file
11-
from itertools import zip_longest
11+
try:
12+
from itertools import zip_longest
13+
except ImportError:
14+
from itertools import izip_longest
1215

1316

1417
def _ascii_to_phred(s, offset):

0 commit comments

Comments
 (0)