Skip to content

Commit

Permalink
Fix deprecation warning. (#165)
Browse files Browse the repository at this point in the history
gffutils/parser.py:19: DeprecationWarning: invalid escape sequence
gff3_kw_pat = re.compile('\w+=')

Co-authored-by: daler <dalerr@niddk.nih.gov>
  • Loading branch information
roryk and daler committed Jan 25, 2022
1 parent cd5df51 commit 171d7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gffutils/parser.py
Expand Up @@ -16,7 +16,7 @@
ch.setFormatter(formatter)
logger.addHandler(ch)

gff3_kw_pat = re.compile('\w+=')
gff3_kw_pat = re.compile(r'\w+=')

# Encoding/decoding notes
# -----------------------
Expand Down

0 comments on commit 171d7df

Please sign in to comment.