Skip to content

Commit

Permalink
Specify sep as raw string
Browse files Browse the repository at this point in the history
  • Loading branch information
apriha committed Jun 5, 2020
1 parent 22bbdad commit 5ea82b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snps/io/reader.py
Expand Up @@ -551,7 +551,7 @@ def parser():
file,
comment="#",
header=0,
sep="\s+|\t+|\s+\t+|\t+\s+", # https://stackoverflow.com/a/41320761
sep=r"\s+|\t+|\s+\t+|\t+\s+", # https://stackoverflow.com/a/41320761
engine="python",
na_values=0,
names=["rsid", "chrom", "pos", "allele1", "allele2"],
Expand Down

0 comments on commit 5ea82b7

Please sign in to comment.