Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 invalid escape sequences warnings #185

Open
Zaf4 opened this issue Jul 26, 2024 · 0 comments
Open

Python 3.12 invalid escape sequences warnings #185

Zaf4 opened this issue Jul 26, 2024 · 0 comments

Comments

@Zaf4
Copy link

Zaf4 commented Jul 26, 2024

When installing squidpy I got this syntax warning from this repo. I think this does not affect anything but it is best to bring it to your attention.

/home/zaf4/tests/sq_test/sq_interactive_312/lib/python3.12/site-packages/leidenalg/VertexPartition.py:388: SyntaxWarning: invalid escape sequence '\m'
""" Implements modularity. This quality function is well-defined only for positive edge weights.
/home/zaf4/tests/sq_test/sq_interactive_312/lib/python3.12/site-packages/leidenalg/VertexPartition.py:761: SyntaxWarning: invalid escape sequence '\m'
""" Implements Reichardt and Bornholdt's Potts model with a configuration null model.
/home/zaf4/tests/sq_test/sq_interactive_312/lib/python3.12/site-packages/leidenalg/Optimiser.py:7: SyntaxWarning: invalid escape sequence '\g'
""" Class for doing community detection using the Leiden algorithm.
/home/zaf4/tests/sq_test/sq_interactive_312/lib/python3.12/site-packages/leidenalg/Optimiser.py:305: SyntaxWarning: invalid escape sequence '\s'
""" Optimise the given partitions simultaneously.

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

No branches or pull requests

1 participant