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

Make explicit (optional) validation function in TrackingGraph constructor #91

Open
cmalinmayor opened this issue Oct 31, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@cmalinmayor
Copy link
Collaborator

This will be more efficient for power users who know the networkx graph is correct, and for creating subgraphs of the TrackingGraph. Should probably put the validation in a separate function and call it or not based on the argument.

@cmalinmayor
Copy link
Collaborator Author

I just ran into the issue that the label_key was incorrect. We should check that if there is a segmentation provided, every node has the label_key in the validation as well to avoid this issue (or throw a warning if we don't want to be strict). The actual error message I got was a KeyError in the CTCMatcher which was very uninformative.

@cmalinmayor cmalinmayor changed the title Add flag to not run validation on networkx graph in TrackingGraph constructor Make explicit (optional) validation function in TrackingGraph constructor Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant