Tags: 4DNucleome/PartSeg
Tags
chore: Migrate Windows images from 2019 to 2022 in Azure Pipelines an… …d GitHub Actions (#1284) ## Summary by Sourcery CI: - Update Windows VM image references from windows-2019 to windows-2022 in azure-pipelines.yml <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated build and test environments to use the latest Windows VM image for improved compatibility and support. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
chore: Add changelog for 0.16.2 (#1269) ## Summary by Sourcery Documentation: - Document testing-related dependency upgrades, miscellaneous maintenance tasks (including pre-commit updates and CI workflow changes), and security-related dependency bumps in the changelog for version 0.16.2 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Added a new changelog entry for version 0.16.2, detailing recent testing updates, miscellaneous maintenance tasks, and security-related dependency upgrades. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
chore: Add changelog for 0.16.1 (#1250) ## Summary by Sourcery Add changelog for version 0.16.1, including bug fixes, testing updates, and miscellaneous tasks such as pre-commit autoupdates and handling napari deprecation. Bug Fixes: - Fix rendering of alternative representation when there are more components in the alternative representation than in ROI. - Enable czifile workaround for version 2019.7.2.1 Tests: - Upgrade constraints for various packages including ipython, magicgui, numpy, partsegcore-compiled-backend, pydantic, imagecodecs, oiffile, pygments, scipy, superqt, imageio, napari, sentry-sdk, simpleitk, tifffile, and xlsxwriter. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Resolved issues with displaying alternative representations when additional components are present. - Implemented a workaround to ensure stability with a specific dependency version. - **Tests** - Updated automated testing constraints for several key packages to maintain compatibility. - **Chores** - Added a new changelog entry for version 0.16.1. - Updated configuration settings and dependency management to address evolving requirements. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
feat: Use image color when add layer to napari (#1200) Use color associated with the channel in napari reader plugin. <!-- Generated by sourcery-ai[bot]: start summary --> ## Summary by Sourcery Add functionality to use channel-associated colors in napari layers by adjusting hex color codes. Enhance the `_hex_to_rgb` function to support additional hex code formats and update tests accordingly. New Features: - Integrate color adjustment for image layers in the napari reader plugin, using the color associated with the channel. Enhancements: - Improve the `_hex_to_rgb` function to handle 4 and 8 character hex codes, ensuring proper conversion and validation. Tests: - Expand tests for the `_hex_to_rgb` function to include cases for 4 and 8 character hex codes, ensuring correct functionality and error handling. <!-- Generated by sourcery-ai[bot]: end summary --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced `adjust_color` function to modify color strings based on length, enhancing color handling. - Updated `_hex_to_rgb` function to support additional hexadecimal color formats. - **Bug Fixes** - Improved validation for hex color codes, ensuring robust error handling for various input lengths. - **Tests** - Added new test cases for `_hex_to_rgb` to validate behavior with hex codes including alpha channels. - Enhanced tests for layer creation and colormap validation in image processing. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
feat: Add metadata viewer as napari widget (#1195) <!-- Generated by sourcery-ai[bot]: start summary --> ## Summary by Sourcery Add a new LayerMetadata widget to the napari viewer for displaying layer metadata, update the DictViewer class to use a set_data method, and include tests for the new widget. New Features: - Introduce a new LayerMetadata widget for viewing metadata of layers in the napari viewer. Enhancements: - Modify the DictViewer class to use a set_data method for initializing data. Tests: - Add tests for the LayerMetadata widget to verify its initialization and functionality with and without layers. <!-- Generated by sourcery-ai[bot]: end summary --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced the "View Layer Metadata" feature in the Napari interface, allowing users to view metadata associated with image layers. - Added a new `LayerMetadata` widget for selecting layers and displaying their metadata. - **Bug Fixes** - Enhanced metadata handling for image layers, ensuring relevant information is included in layer configurations. - **Tests** - Added a new test class for the `LayerMetadata` widget to ensure proper functionality during initialization and layer updates. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix: Fix reading channel names from single channel czi files (#1194) <!-- Generated by sourcery-ai[bot]: start summary --> ## Summary by Sourcery Fix the issue with reading channel names from single channel CZI files by ensuring the channel metadata is correctly processed when it is a dictionary. Bug Fixes: - Fix reading channel names from single channel CZI files by handling the case where channel metadata is a dictionary instead of a list. <!-- Generated by sourcery-ai[bot]: end summary --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved handling of channel metadata when reading image files, ensuring consistent population of channel names for both single and multiple channels. - **Bug Fixes** - Resolved issues related to channel metadata processing that could occur with single-channel images. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
PreviousNext