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

Add function to turn TrackGraph to networkx graph #2

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Conversation

cmalinmayor
Copy link
Collaborator

Proposed Change

Add function to turn TrackGraph into networkx graph and preserve attributes.
This should probably go into the TrackGraph itself in motile, but at least it is here for now.

Checklist

Go through these things before merge. Actions should run automatically to test them, but for information on how to run locally, see CONTRIBUTING.md.

  • I have added tests that prove that my feature works in various situations or tests the bugfix (if applicable).
  • I have checked that the tests pass and I maintained or improved test coverage (if applicable).
  • I have written docstrings and checked that they render correctly in the documentation build.
  • I have checked that mypy type checking passes.

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@cmalinmayor cmalinmayor merged commit b1d2909 into main Mar 11, 2024
6 checks passed
@cmalinmayor cmalinmayor deleted the graph_to_nx branch March 11, 2024 22:50
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

Successfully merging this pull request may close these issues.

2 participants