Skip to content

Commit cdf1b2c

Browse files
authored
Merge pull request #319 from tgttunstall/master
Replaced deprecated 'rU' with 'r' to make this work on recent python
2 parents 66a4329 + cf577c4 commit cdf1b2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PopPUNK/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def readRfile(rFile, oneSeq=False):
422422
"""
423423
names = []
424424
sequences = []
425-
with open(rFile, 'rU') as refFile:
425+
with open(rFile, 'r') as refFile:
426426
for refLine in refFile:
427427
rFields = refLine.rstrip().split("\t")
428428
if len(rFields) < 2:

0 commit comments

Comments
 (0)