Skip to content

Warning about integer vertex names refers to 0.11.0 #826

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

Open
szhorvat opened this issue Apr 22, 2025 · 0 comments
Open

Warning about integer vertex names refers to 0.11.0 #826

szhorvat opened this issue Apr 22, 2025 · 0 comments

Comments

@szhorvat
Copy link
Member

This warning about integer vertex names still refers to version 0.11.0. We are well past that.

if isinstance(name, int):
# raise TypeError("cannot use integers as vertex names; use strings instead")
deprecated(
"You are using integers as vertex names. This is discouraged because "
"most igraph functions interpret integers as vertex _IDs_ and strings "
"as vertex names. For sake of consistency, convert your vertex "
"names to strings before assigning them. Future versions from igraph "
"0.11.0 will disallow integers as vertex names."
)

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