Skip to content

Test for handling disconnected graphs #279

@sdmccabe

Description

@sdmccabe

We should have some handling for disconnected graphs in our distances. Some distances explicitly don't work with disconnected graphs. I think these should either:

  1. raise a ValueError immediately, or
  2. return np.nan and a consistent warning of some sort.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions