Skip to content

Warning about integer vertex names refers to 0.11.0 #826

@szhorvat

Description

@szhorvat

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."
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions