-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow set units that will be used for load/save data using Part…
…Seg as napari plugin (#1228) This PR add "Settings Editor" widget to allow edit PartSeg specific settings. This PR add option to set to which units, the scale should be set when loading to the viewer. This PR also contains refactor that is mentioned here: #1226 (comment) ## Summary by Sourcery Add a 'Settings Editor' widget to the PartSeg napari plugin to enable editing of specific settings, including setting units for data scaling. Refactor the plugin structure by relocating files to a new 'napari_io' directory for improved organization. New Features: - Introduce a 'Settings Editor' widget to allow users to edit PartSeg specific settings within the napari plugin. - Add functionality to set the units for scaling when loading data into the viewer. Enhancements: - Refactor the PartSeg napari plugin structure by moving files from 'napari_plugins' to 'napari_io' for better organization. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new `SettingsEditor` for managing unit settings within the PartSeg interface. - Enhanced plugin handling based on the version of the `napari` library. - **Bug Fixes** - Improved clarity of error messages related to plugin loading. - **Documentation** - Updated command signatures in the configuration to reflect new module structure. - **Chores** - Restructured import paths across various modules to enhance organization and maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
17 changed files
with
90 additions
and
37 deletions.
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
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
2 changes: 1 addition & 1 deletion
2
...ge/PartSegCore/napari_plugins/__init__.py → ...age/PartSeg/plugins/napari_io/__init__.py
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
2 changes: 1 addition & 1 deletion
2
.../PartSegCore/napari_plugins/load_image.py → ...e/PartSeg/plugins/napari_io/load_image.py
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
2 changes: 1 addition & 1 deletion
2
...gCore/napari_plugins/load_mask_project.py → ...eg/plugins/napari_io/load_mask_project.py
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
2 changes: 1 addition & 1 deletion
2
...gCore/napari_plugins/load_masked_image.py → ...eg/plugins/napari_io/load_masked_image.py
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
2 changes: 1 addition & 1 deletion
2
...egCore/napari_plugins/load_roi_project.py → ...Seg/plugins/napari_io/load_roi_project.py
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
File renamed without changes.
File renamed without changes.
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