-
Notifications
You must be signed in to change notification settings - Fork 40
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 make nx Graph from Skeleton #224
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
bb57ff0
Add function to make nx Graph from Skeleton
jni d0b35bb
Add function to compute main branches in nx directly
jni b6cb88e
Initial work on networkx-based pruning
jni 7105248
wip - adding path co-ordinates to networkx edge attributes
ns-rse 2a5a6d4
Merge branch 'main' into ns-rse/networkx
ns-rse 131ffdf
Reconstruct Skeleton from stored path_coordinates()
ns-rse e9a95a4
Switching to networkx.MultiGraph()
ns-rse 403877f
Use n-dimensional indexing, remove defensive guards
jni 8a6dd17
Fix errors test
jni 9dbc809
Remove unnecessary parens
jni ec84487
Store shape and dtype->no need to pass them later
jni 54b8e1e
Update tests to no longer need to pass shape
jni 45afec7
Remove no-longer-erroring test case
jni e36253c
Enable skeleton <--> nx tests for 3D skeleton
ns-rse 636c330
Remove iterative pruning from this PR
ns-rse 56b162e
Reverting mistaken Black formatting
ns-rse 5d50eb6
Mark test as failing under 3.8
ns-rse bc5a585
Avoid modifying function inputs
jni ace2c66
Add complete docstring to skeleton_to_nx
jni fe3611b
Add ouptut type annotation to skeleton_to_nx
jni ff8e1bd
Update nx_to_skeleton docstring
jni f4d0a98
Refactor random test skeleton generation
jni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you add this? (ie what warnings are we ignoring here and is that wise 😅)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently its our own deprecation warnings that were recently added for the removal of
_
.Happy to remove this though I only added it so it was easier to read test output whilst writing them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll leave it for now and make an issue to either wrap those in pytest.warns or pass the separator arg.