-
Notifications
You must be signed in to change notification settings - Fork 101
Unify loaders #722
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
Merged
+1,768
−925
Merged
Unify loaders #722
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
fe22254
Draft load module
lochhh 51bf536
Make from_multiview_files general
lochhh 0c9415d
Clarify behaviour of from_multiview_files
lochhh d0ed731
Cover one of poses and bboxes in test_from_multiview_files
lochhh 8fd9775
Add loader registration with file validation
lochhh 864e2de
Rename file_path to file
lochhh 8e787c6
Draft file validators + register_loader refactor
lochhh 75c0a2f
Remove unused dataset-specific from_file and from_multiview_files
lochhh 4e072ab
Fix order of file checks
lochhh c9b4110
Update file validators tests and simplify file fixtures
lochhh de43bca
Add missing path converters
lochhh 306af86
Import load modules to trigger decorator registration
lochhh 52ab208
Use load.from_file in napari widget
lochhh d5ba660
Add file validator tests
lochhh 294e592
Add from_file tests
lochhh bc774d6
Use TypeAlias for source_software type
lochhh 0fad48e
Clean up and revert to `str | Path`
lochhh 8e2e61e
Allow registering loaders without validators
lochhh aa3befb
Refactor `_file_is_accessible`
lochhh 1817c15
Refactor `register_decorator`
lochhh 169f4b1
Expose unified `load` functions in `movement.io`
lochhh 2d8fa6e
Update ref to `from_multiview_files` in Datasets guide
lochhh bd6046d
Use consistent `valid_path` naming
lochhh 2186a33
Add `from_file` section in IO guide
lochhh f649cee
Simplify suffixes check in file validator
lochhh bc55729
Include `instance` in `_if_instance_of` definition
lochhh 8122841
Add guide for implementing new loaders and file validators
lochhh b70d873
Improve docstrings for LoaderProtocol and ValidFile classes
lochhh 922c07b
Restructure implementing loaders guide
lochhh cf8da2b
Move loader guide to CONTRIBUTING.md
lochhh 22e1910
Ensure consistent use of period in list items
lochhh 48054bc
Log and raise error in validator example
lochhh 89d94e1
Include VGG save in IO guide
lochhh 320f939
Introduce from_file before software-specific functions
lochhh 9e1e58d
Rename `from_file` to `load_dataset`
lochhh f0b2559
Rename `from_multiview_files` to `load_multiview_dataset`
lochhh 0522742
Add docstring for `validate_file_path`
lochhh 2588740
Revert "Remove unused dataset-specific from_file and from_multiview_f…
lochhh 363a664
Update type casting in example
lochhh db028f8
Deprecate `from_file` and `from_multiview_files` with warnings
lochhh d6cda1e
Restore `from_file` and `from_multiview_files` tests
lochhh 146f8da
Ignore deprecation warnings for `from_file`and `from_multiview_files`…
lochhh 77c7596
Fix `from_multiview_files` docstring
lochhh dafddbb
Clarify load_dataset docstring
lochhh 30fa87b
Standardise heading in contributing.md
lochhh baec90d
Add step for updating `load_dataset()` docstring with new loader
lochhh 13e33c2
Mention load_poses and load_bboxes modules only
lochhh 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.