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

Fix number of nodes in graph-tool graphs with disconnected single nodes #62

Merged
merged 5 commits into from
Jan 27, 2022

Conversation

RMeli
Copy link
Owner

@RMeli RMeli commented Jan 27, 2022

Description

Fix #61 by explicitly defining the number of vertices when creating a graph-tool graph from an adjacency matrix.

This PR also add a warning for disconnected graphs, but might slowing down things for something that is not really useful in standard cases (i.e. small molecules).

Checklist

  • Tests
  • Changelog

@RMeli RMeli self-assigned this Jan 27, 2022
@codecov
Copy link

codecov bot commented Jan 27, 2022

Codecov Report

Merging #62 (6aa86c8) into develop (3c11da5) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@RMeli RMeli merged commit 9be79d7 into develop Jan 27, 2022
@RMeli RMeli deleted the issue-61 branch September 6, 2023 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent number of nodes with graph-tool for disconnected graphs
1 participant