Skip to content

Conversation

@emollier
Copy link

@emollier emollier commented Nov 5, 2024

This change treats the regex passed to the compiler as a raw string. This resolve the following warning:

  /usr/lib/python3/dist-packages/BCBio/GFF/GFFParser.py:71:
SyntaxWarning: invalid escape sequence '\w'
    gff3_kw_pat = re.compile("\w+=")

The issue has been initially reported in Debian bug #1085892.

This change treats the regex passed to the compiler as a raw string.
This resolve the following warning:

	  /usr/lib/python3/dist-packages/BCBio/GFF/GFFParser.py:71:
	SyntaxWarning: invalid escape sequence '\w'
	    gff3_kw_pat = re.compile("\w+=")

The issue has been initially reported in [Debian bug #1085892].

[Debian bug #1085892]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085892

Signed-off-by: Étienne Mollier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant