Skip to content

Commit

Permalink
Merge pull request #319 from tgttunstall/master
Browse files Browse the repository at this point in the history
Replaced deprecated 'rU' with 'r' to make this work on recent python
  • Loading branch information
johnlees authored Jul 24, 2024
2 parents 66a4329 + cf577c4 commit cdf1b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PopPUNK/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def readRfile(rFile, oneSeq=False):
"""
names = []
sequences = []
with open(rFile, 'rU') as refFile:
with open(rFile, 'r') as refFile:
for refLine in refFile:
rFields = refLine.rstrip().split("\t")
if len(rFields) < 2:
Expand Down

0 comments on commit cdf1b2c

Please sign in to comment.