PartSeg 0.16.4__tar.gz → 0.16.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {partseg-0.16.4 → partseg-0.16.5}/PKG-INFO +68 -7
- {partseg-0.16.4 → partseg-0.16.5}/changelog.md +60 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_mask/batch_proceed.py +1 -1
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_mask/main_window.py +61 -24
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_mask/stack_settings.py +14 -12
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/changelog.py +60 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/base_settings.py +11 -11
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/main_window.py +8 -2
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/multiple_file_widget.py +1 -1
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/napari_image_view.py +5 -2
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/version.py +3 -3
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg.egg-info/PKG-INFO +68 -7
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg.egg-info/SOURCES.txt +3 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg.egg-info/requires.txt +2 -2
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/batch_processing/batch_backend.py +2 -17
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/batch_processing/parallel_backend.py +2 -1
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/utils.py +48 -13
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegImage/__init__.py +4 -1
- partseg-0.16.5/package/PartSegImage/czifile_fixes.py +69 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegImage/image_reader.py +15 -73
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/conftest.py +9 -2
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_common_gui.py +1 -1
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_sentry.py +4 -8
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_viewer.py +7 -6
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_analysis_batch.py +9 -2
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_utils.py +21 -0
- {partseg-0.16.4 → partseg-0.16.5}/pyproject.toml +4 -3
- {partseg-0.16.4 → partseg-0.16.5}/requirements/constraints_py3.10.txt +74 -68
- {partseg-0.16.4 → partseg-0.16.5}/requirements/constraints_py3.10_pydantic_1.txt +67 -67
- {partseg-0.16.4 → partseg-0.16.5}/requirements/constraints_py3.11.txt +82 -80
- {partseg-0.16.4 → partseg-0.16.5}/requirements/constraints_py3.11_pydantic_1.txt +75 -79
- {partseg-0.16.4 → partseg-0.16.5}/requirements/constraints_py3.12.txt +84 -81
- {partseg-0.16.4 → partseg-0.16.5}/requirements/constraints_py3.12_docs.txt +75 -73
- {partseg-0.16.4 → partseg-0.16.5}/requirements/constraints_py3.12_pydantic_1.txt +77 -79
- partseg-0.16.5/requirements/constraints_py3.13.txt +509 -0
- partseg-0.16.5/requirements/constraints_py3.13_pydantic_1.txt +497 -0
- {partseg-0.16.4 → partseg-0.16.5}/requirements/constraints_py3.9.txt +49 -49
- {partseg-0.16.4 → partseg-0.16.5}/requirements/constraints_py3.9_pydantic_1.txt +48 -48
- {partseg-0.16.4 → partseg-0.16.5}/.napari/DESCRIPTION.md +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/.napari/config.yml +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/CITATION.cff +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/License.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/MANIFEST.in +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/Readme.md +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/__main__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_launcher/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_launcher/check_survey.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_launcher/check_version.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_launcher/main_window.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/advanced_window.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/batch_window.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/calculation_pipeline_thread.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/export_batch.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/image_view.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/main_window.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/measurement_widget.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/partseg_settings.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/prepare_plan_widget.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_analysis/profile_export.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_mask/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_mask/image_view.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_mask/segmentation_info_dialog.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/_roi_mask/simple_measurements.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/abstract_class.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/base_argparser.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/except_hook.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/load_backup.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/partially_const_dict.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/progress_thread.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/python_syntax_highlight.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_backend/segmentation_thread.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/about_dialog.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/advanced_tabs.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/algorithms_description.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/channel_control.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/collapse_checkbox.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/colormap_creator.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/custom_buttons.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/custom_load_dialog.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/custom_save_dialog.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/dict_viewer.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/equal_column_layout.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/error_report.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/exception_hooks.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/flow_layout.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/icon_selector.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/image_adjustment.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/label_create.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/lock_checkbox.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/mask_widget.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/napari_viewer_wrap.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/numpy_qimage.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/qt_console.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/qt_modal.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/qt_util.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/searchable_combo_box.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/searchable_list_widget.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/select_multiple_files.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/show_directory_dialog.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/stack_image_view.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/stacked_widget_with_selector.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/universal_gui_part.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/common_gui/waiting_dialog.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/launcher_main.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/napari.yaml +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/itk_snap_save/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/modeling_save/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/modeling_save/save_modeling_data.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_io/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_io/load_image.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_io/load_mask_project.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_io/load_masked_image.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_io/load_roi_project.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_io/loader.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_io/save_mask_roi.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_io/save_tiff_layer.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/_settings.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/algorithm_widgets.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/colormap_control.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/copy_labels.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/lables_control.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/mask_create_widget.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/measurement_widget.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/metadata_viewer.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/roi_extraction_algorithms.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/search_label_widget.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/simple_measurement_widget.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/napari_widgets/utils.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/old_partseg/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/plugins/old_partseg/old_partseg.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg/state_store.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg.egg-info/dependency_links.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg.egg-info/entry_points.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSeg.egg-info/top_level.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/_old_json_hooks.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/algorithm_describe_base.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/algorithm_description.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/analysis_utils.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/batch_processing/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/calculate_pipeline.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/calculation_plan.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/io_utils.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/load_functions.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/measurement_base.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/measurement_calculation.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/analysis/save_functions.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/autofit.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/channel_class.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/class_generator.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/color_image/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/color_image/base_colors.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/color_image/color_data.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/convex_fill.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/custom_name_generate.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/image_operations.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/image_transforming/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/image_transforming/combine_channels.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/image_transforming/image_projection.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/image_transforming/interpolate_image.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/image_transforming/swap_time_stack.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/image_transforming/transform_base.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/io_utils.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/json_hooks.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/mask/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/mask/algorithm_description.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/mask/history_utils.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/mask/io_functions.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/mask_create.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/mask_partition_utils.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/plugins/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/project_info.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/register.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/roi_info.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/algorithm_base.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/border_smoothing.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/mu_mid_point.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/noise_filtering.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/restartable_segmentation_algorithms.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/segmentation_algorithm.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/threshold.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/utils.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/segmentation/watershed.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/sphinx/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/sphinx/auto_parameters.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegCore/universal_const.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegImage/channel_class.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegImage/image.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegImage/image_writer.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/PartSegImage/tifffile_fixes.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/conftest.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_analysis/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_analysis/test_advanced_window.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_analysis/test_batch.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_analysis/test_batch_window.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_analysis/test_export_batch.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_analysis/test_image_view.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_analysis/test_main_window.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_analysis/test_profile_export.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_mask/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_mask/test_batch.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/roi_mask/test_main_window.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_analysis.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_base.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_base_widgets.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_channel_control.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_check_release.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_check_survey.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_colormap_create.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_common_backend.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_io.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_label_choose.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_launcher.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_main_windows.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_napari_image_view.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_napari_io.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_napari_widgets.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_roi_analysis_batch.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_settings.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSeg/test_window_import.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/segmentation/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/segmentation/test_algorithm_base.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/segmentation/test_segmentation_algorithm.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/segmentation/test_threshold.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_algorithm_describe_base.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_base.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_class_generator.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_class_register.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_image_adjustment.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_io.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_json_hooks.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_mask_create.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_mask_partition.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_measurements.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_min_req.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_mso.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_pipeline.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_segmentation.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_segmentation_proceses.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegCore/test_smooth.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegImage/__init__.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegImage/test_channel_class.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegImage/test_image.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegImage/test_image_reader.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_PartSegImage/test_image_writer.py +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/calculation_plan_0.9.2.3.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/measurements_profile.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/napari_measurements_profile.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/notebook/neuron_types_measurment.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/notebook/neuron_types_segmentation.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/notebook/segment_data.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.10.4/analysis/batch_plans_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.10.4/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.10.4/analysis/view_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.1/analysis/batch_plans_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.1/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.1/analysis/view_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.1/mask/segmentation_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.1/mask/view_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.14/analysis/batch_plans_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.14/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.14/analysis/view_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.14/mask/segmentation_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.14/mask/view_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.15/analysis/batch_plans_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.15/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.15/analysis/view_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.15/mask/segmentation_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.13.15/mask/view_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.8.6/analysis/batch_plans_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.8.6/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/old_saves/0.8.6/analysis/view_settings.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/ome.xsd.xml +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/problematic_excel_batch.xlsx +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/problematic_json_batch.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/problematic_profile_dict.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/range_profile.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/sample_batch_output.xlsx +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/segment_profile_0.9.2.3.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/view_settings_v0.12.6.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/package/tests/test_data/workflow.json +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/requirements/dependabot_runtime.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/requirements/pre_test_problematic_version.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/requirements/pydantic_1.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/requirements/requirements_ci.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/requirements/requirements_dev.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/requirements/requirements_test.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/requirements/version_denylist.txt +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/setup.cfg +0 -0
- {partseg-0.16.4 → partseg-0.16.5}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PartSeg
|
|
3
|
-
Version: 0.16.
|
|
3
|
+
Version: 0.16.5
|
|
4
4
|
Summary: PartSeg is python GUI and set of napari plugins for bio imaging analysis especially nucleus analysis,
|
|
5
5
|
Author-email: Grzegorz Bokota <g.bokota@uw.edu.pl>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -22,6 +22,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
25
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
26
27
|
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
27
28
|
Classifier: Topic :: Scientific/Engineering :: Image Processing
|
|
@@ -95,10 +96,10 @@ Provides-Extra: pyside
|
|
|
95
96
|
Requires-Dist: PartSeg[pyside2]; extra == "pyside"
|
|
96
97
|
Provides-Extra: pyside2
|
|
97
98
|
Requires-Dist: PySide2!=5.15.0,>=5.12.3; extra == "pyside2"
|
|
98
|
-
Requires-Dist: napari[pyside]; extra == "pyside2"
|
|
99
|
+
Requires-Dist: napari[pyside]<0.7.0; extra == "pyside2"
|
|
99
100
|
Provides-Extra: pyside6
|
|
100
101
|
Requires-Dist: PySide6; extra == "pyside6"
|
|
101
|
-
Requires-Dist: napari[
|
|
102
|
+
Requires-Dist: napari[pyside6]>=0.5.0; extra == "pyside6"
|
|
102
103
|
Provides-Extra: test
|
|
103
104
|
Requires-Dist: coverage; extra == "test"
|
|
104
105
|
Requires-Dist: lxml[html_clean]; extra == "test"
|
|
@@ -150,10 +151,10 @@ This application is designed to help biologist with segmentation based on thresh
|
|
|
150
151
|
|
|
151
152
|
- From binaries:
|
|
152
153
|
|
|
153
|
-
- [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.
|
|
154
|
-
- [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.
|
|
155
|
-
- [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.
|
|
156
|
-
- [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.
|
|
154
|
+
- [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.5/PartSeg-0.16.5-windows.zip) (build on Windows 10)
|
|
155
|
+
- [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.5/PartSeg-0.16.5-linux.zip) (build on Ubuntu 20.04)
|
|
156
|
+
- [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.5/PartSeg-0.16.5-macos.zip) (build on macOS 13)
|
|
157
|
+
- [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.5/PartSeg-0.16.5-macos-arm64.zip) (build on macOS 14)
|
|
157
158
|
There are reported problems with permissions systems on macOS. If you have a problem with starting the application, please try to run it from the terminal.
|
|
158
159
|
|
|
159
160
|
- With pip:
|
|
@@ -243,6 +244,66 @@ from 3D microscopy images for dummies. BMC Bioinformatics 22, 72 (2021).
|
|
|
243
244
|
|
|
244
245
|
All notable changes to this project will be documented in this file.
|
|
245
246
|
|
|
247
|
+
### 0.16.5 - 2026-03-24
|
|
248
|
+
|
|
249
|
+
#### 🚀 Features
|
|
250
|
+
|
|
251
|
+
- Use `QScrollArea` for components selection ([#1328](https://github.com/4DNucleome/PartSeg/pull/1328))
|
|
252
|
+
|
|
253
|
+
#### 🐛 Bug Fixes
|
|
254
|
+
|
|
255
|
+
- Fix `QtViewer` initialization as preparation for napari 0.7.0 ([#1351](https://github.com/4DNucleome/PartSeg/pull/1351))
|
|
256
|
+
|
|
257
|
+
#### 📚 Documentation
|
|
258
|
+
|
|
259
|
+
- Update changelog for 0.16.5 ([#1372](https://github.com/4DNucleome/PartSeg/pull/1372))
|
|
260
|
+
|
|
261
|
+
#### 🧪 Testing
|
|
262
|
+
|
|
263
|
+
- [Automatic] Constraints upgrades: `imagecodecs`, `imageio`, `ipykernel`, `ipython`, `pydantic`, `scipy`, `sentry-sdk`, `traceback-with-variables` ([#1329](https://github.com/4DNucleome/PartSeg/pull/1329))
|
|
264
|
+
- [Automatic] Constraints upgrades: `oiffile`, `tifffile` ([#1337](https://github.com/4DNucleome/PartSeg/pull/1337))
|
|
265
|
+
- [Automatic] Constraints upgrades: `numpy`, `sentry-sdk`, `tifffile` ([#1341](https://github.com/4DNucleome/PartSeg/pull/1341))
|
|
266
|
+
- [Automatic] Constraints upgrades: `imagecodecs`, `numpy`, `packaging`, `pandas`, `qtawesome`, `sentry-sdk`, `tifffile` ([#1347](https://github.com/4DNucleome/PartSeg/pull/1347))
|
|
267
|
+
- [Automatic] Constraints upgrades: `ipykernel`, `ipython`, `oiffile`, `qtconsole`, `sentry-sdk`, `superqt`, `tifffile` ([#1353](https://github.com/4DNucleome/PartSeg/pull/1353))
|
|
268
|
+
- [Automatic] Constraints upgrades: `pandas`, `scipy`, `sentry-sdk`, `tifffile` ([#1357](https://github.com/4DNucleome/PartSeg/pull/1357))
|
|
269
|
+
- [Automatic] Constraints upgrades: `sentry-sdk` ([#1370](https://github.com/4DNucleome/PartSeg/pull/1370))
|
|
270
|
+
|
|
271
|
+
#### ⚙️ Miscellaneous Tasks
|
|
272
|
+
|
|
273
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1325](https://github.com/4DNucleome/PartSeg/pull/1325))
|
|
274
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1330](https://github.com/4DNucleome/PartSeg/pull/1330))
|
|
275
|
+
- Add `tzdata` to hiddenimports, as preparation for `pandas` 3.0 ([#1335](https://github.com/4DNucleome/PartSeg/pull/1335))
|
|
276
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1333](https://github.com/4DNucleome/PartSeg/pull/1333))
|
|
277
|
+
- Drop macOS-13 on Azure Pipelines, fix parameter name for pyinstaller template ([#1338](https://github.com/4DNucleome/PartSeg/pull/1338))
|
|
278
|
+
- Add Python 3.13 to supported versions ([#1327](https://github.com/4DNucleome/PartSeg/pull/1327))
|
|
279
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1336](https://github.com/4DNucleome/PartSeg/pull/1336))
|
|
280
|
+
- Update runners in make-release workflow ([#1344](https://github.com/4DNucleome/PartSeg/pull/1344))
|
|
281
|
+
- Remove NumPy hack for building executable on macOS ([#1345](https://github.com/4DNucleome/PartSeg/pull/1345))
|
|
282
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1342](https://github.com/4DNucleome/PartSeg/pull/1342))
|
|
283
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1346](https://github.com/4DNucleome/PartSeg/pull/1346))
|
|
284
|
+
- Accept `time` argument in `not_start` mock of timer `start` ([#1350](https://github.com/4DNucleome/PartSeg/pull/1350))
|
|
285
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1354](https://github.com/4DNucleome/PartSeg/pull/1354))
|
|
286
|
+
- Update coderabbitai configuration to not expect docstrings in tests ([#1355](https://github.com/4DNucleome/PartSeg/pull/1355))
|
|
287
|
+
- Drop test against pyside2, fix test for napari 0.7.0, add testing against Python 3.13 ([#1352](https://github.com/4DNucleome/PartSeg/pull/1352))
|
|
288
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1356](https://github.com/4DNucleome/PartSeg/pull/1356))
|
|
289
|
+
- Move czifile fix to a separate file ([#1362](https://github.com/4DNucleome/PartSeg/pull/1362))
|
|
290
|
+
- Fix overwriting default path for napari settings in tests ([#1363](https://github.com/4DNucleome/PartSeg/pull/1363))
|
|
291
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1359](https://github.com/4DNucleome/PartSeg/pull/1359))
|
|
292
|
+
- Use `pyvista/setup-headless-display-action` to set up the display ([#1367](https://github.com/4DNucleome/PartSeg/pull/1367))
|
|
293
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1371](https://github.com/4DNucleome/PartSeg/pull/1371))
|
|
294
|
+
|
|
295
|
+
#### 🛡️ Security
|
|
296
|
+
|
|
297
|
+
- *(deps)* Bump peter-evans/create-pull-request from 7 to 8 ([#1340](https://github.com/4DNucleome/PartSeg/pull/1340))
|
|
298
|
+
- *(deps)* Bump actions/upload-artifact from 6 to 7 in the github-actions group across 1 directory ([#1361](https://github.com/4DNucleome/PartSeg/pull/1361))
|
|
299
|
+
- *(deps)* Bump actions/download-artifact from 7 to 8 in the github-actions group ([#1368](https://github.com/4DNucleome/PartSeg/pull/1368))
|
|
300
|
+
|
|
301
|
+
#### Build
|
|
302
|
+
|
|
303
|
+
- *(deps)* Bump the github-actions group with 2 updates ([#1331](https://github.com/4DNucleome/PartSeg/pull/1331))
|
|
304
|
+
- *(deps)* Bump actions/checkout from 5 to 6 in the github-actions group ([#1334](https://github.com/4DNucleome/PartSeg/pull/1334))
|
|
305
|
+
- *(deps)* Bump the github-actions group with 2 updates ([#1339](https://github.com/4DNucleome/PartSeg/pull/1339))
|
|
306
|
+
|
|
246
307
|
### 0.16.4 - 2025-10-21
|
|
247
308
|
|
|
248
309
|
#### 🚀 Features
|
|
@@ -2,6 +2,66 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 0.16.5 - 2026-03-24
|
|
6
|
+
|
|
7
|
+
### 🚀 Features
|
|
8
|
+
|
|
9
|
+
- Use `QScrollArea` for components selection ([#1328](https://github.com/4DNucleome/PartSeg/pull/1328))
|
|
10
|
+
|
|
11
|
+
### 🐛 Bug Fixes
|
|
12
|
+
|
|
13
|
+
- Fix `QtViewer` initialization as preparation for napari 0.7.0 ([#1351](https://github.com/4DNucleome/PartSeg/pull/1351))
|
|
14
|
+
|
|
15
|
+
### 📚 Documentation
|
|
16
|
+
|
|
17
|
+
- Update changelog for 0.16.5 ([#1372](https://github.com/4DNucleome/PartSeg/pull/1372))
|
|
18
|
+
|
|
19
|
+
### 🧪 Testing
|
|
20
|
+
|
|
21
|
+
- [Automatic] Constraints upgrades: `imagecodecs`, `imageio`, `ipykernel`, `ipython`, `pydantic`, `scipy`, `sentry-sdk`, `traceback-with-variables` ([#1329](https://github.com/4DNucleome/PartSeg/pull/1329))
|
|
22
|
+
- [Automatic] Constraints upgrades: `oiffile`, `tifffile` ([#1337](https://github.com/4DNucleome/PartSeg/pull/1337))
|
|
23
|
+
- [Automatic] Constraints upgrades: `numpy`, `sentry-sdk`, `tifffile` ([#1341](https://github.com/4DNucleome/PartSeg/pull/1341))
|
|
24
|
+
- [Automatic] Constraints upgrades: `imagecodecs`, `numpy`, `packaging`, `pandas`, `qtawesome`, `sentry-sdk`, `tifffile` ([#1347](https://github.com/4DNucleome/PartSeg/pull/1347))
|
|
25
|
+
- [Automatic] Constraints upgrades: `ipykernel`, `ipython`, `oiffile`, `qtconsole`, `sentry-sdk`, `superqt`, `tifffile` ([#1353](https://github.com/4DNucleome/PartSeg/pull/1353))
|
|
26
|
+
- [Automatic] Constraints upgrades: `pandas`, `scipy`, `sentry-sdk`, `tifffile` ([#1357](https://github.com/4DNucleome/PartSeg/pull/1357))
|
|
27
|
+
- [Automatic] Constraints upgrades: `sentry-sdk` ([#1370](https://github.com/4DNucleome/PartSeg/pull/1370))
|
|
28
|
+
|
|
29
|
+
### ⚙️ Miscellaneous Tasks
|
|
30
|
+
|
|
31
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1325](https://github.com/4DNucleome/PartSeg/pull/1325))
|
|
32
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1330](https://github.com/4DNucleome/PartSeg/pull/1330))
|
|
33
|
+
- Add `tzdata` to hiddenimports, as preparation for `pandas` 3.0 ([#1335](https://github.com/4DNucleome/PartSeg/pull/1335))
|
|
34
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1333](https://github.com/4DNucleome/PartSeg/pull/1333))
|
|
35
|
+
- Drop macOS-13 on Azure Pipelines, fix parameter name for pyinstaller template ([#1338](https://github.com/4DNucleome/PartSeg/pull/1338))
|
|
36
|
+
- Add Python 3.13 to supported versions ([#1327](https://github.com/4DNucleome/PartSeg/pull/1327))
|
|
37
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1336](https://github.com/4DNucleome/PartSeg/pull/1336))
|
|
38
|
+
- Update runners in make-release workflow ([#1344](https://github.com/4DNucleome/PartSeg/pull/1344))
|
|
39
|
+
- Remove NumPy hack for building executable on macOS ([#1345](https://github.com/4DNucleome/PartSeg/pull/1345))
|
|
40
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1342](https://github.com/4DNucleome/PartSeg/pull/1342))
|
|
41
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1346](https://github.com/4DNucleome/PartSeg/pull/1346))
|
|
42
|
+
- Accept `time` argument in `not_start` mock of timer `start` ([#1350](https://github.com/4DNucleome/PartSeg/pull/1350))
|
|
43
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1354](https://github.com/4DNucleome/PartSeg/pull/1354))
|
|
44
|
+
- Update coderabbitai configuration to not expect docstrings in tests ([#1355](https://github.com/4DNucleome/PartSeg/pull/1355))
|
|
45
|
+
- Drop test against pyside2, fix test for napari 0.7.0, add testing against Python 3.13 ([#1352](https://github.com/4DNucleome/PartSeg/pull/1352))
|
|
46
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1356](https://github.com/4DNucleome/PartSeg/pull/1356))
|
|
47
|
+
- Move czifile fix to a separate file ([#1362](https://github.com/4DNucleome/PartSeg/pull/1362))
|
|
48
|
+
- Fix overwriting default path for napari settings in tests ([#1363](https://github.com/4DNucleome/PartSeg/pull/1363))
|
|
49
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1359](https://github.com/4DNucleome/PartSeg/pull/1359))
|
|
50
|
+
- Use `pyvista/setup-headless-display-action` to set up the display ([#1367](https://github.com/4DNucleome/PartSeg/pull/1367))
|
|
51
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1371](https://github.com/4DNucleome/PartSeg/pull/1371))
|
|
52
|
+
|
|
53
|
+
### 🛡️ Security
|
|
54
|
+
|
|
55
|
+
- *(deps)* Bump peter-evans/create-pull-request from 7 to 8 ([#1340](https://github.com/4DNucleome/PartSeg/pull/1340))
|
|
56
|
+
- *(deps)* Bump actions/upload-artifact from 6 to 7 in the github-actions group across 1 directory ([#1361](https://github.com/4DNucleome/PartSeg/pull/1361))
|
|
57
|
+
- *(deps)* Bump actions/download-artifact from 7 to 8 in the github-actions group ([#1368](https://github.com/4DNucleome/PartSeg/pull/1368))
|
|
58
|
+
|
|
59
|
+
### Build
|
|
60
|
+
|
|
61
|
+
- *(deps)* Bump the github-actions group with 2 updates ([#1331](https://github.com/4DNucleome/PartSeg/pull/1331))
|
|
62
|
+
- *(deps)* Bump actions/checkout from 5 to 6 in the github-actions group ([#1334](https://github.com/4DNucleome/PartSeg/pull/1334))
|
|
63
|
+
- *(deps)* Bump the github-actions group with 2 updates ([#1339](https://github.com/4DNucleome/PartSeg/pull/1339))
|
|
64
|
+
|
|
5
65
|
## 0.16.4 - 2025-10-21
|
|
6
66
|
|
|
7
67
|
### 🚀 Features
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import os
|
|
2
|
+
from collections.abc import Sequence
|
|
2
3
|
from contextlib import suppress
|
|
3
4
|
from functools import partial
|
|
5
|
+
from typing import Union
|
|
4
6
|
|
|
5
7
|
import numpy as np
|
|
6
8
|
from qtpy.QtCore import QByteArray, Qt, Signal, Slot
|
|
@@ -16,8 +18,10 @@ from qtpy.QtWidgets import (
|
|
|
16
18
|
QMessageBox,
|
|
17
19
|
QProgressBar,
|
|
18
20
|
QPushButton,
|
|
21
|
+
QScrollArea,
|
|
19
22
|
QSizePolicy,
|
|
20
23
|
QSpinBox,
|
|
24
|
+
QSplitter,
|
|
21
25
|
QTabWidget,
|
|
22
26
|
QTextEdit,
|
|
23
27
|
QVBoxLayout,
|
|
@@ -393,7 +397,7 @@ class ComponentCheckBox(QCheckBox):
|
|
|
393
397
|
self.mouse_leave.emit(self.number)
|
|
394
398
|
|
|
395
399
|
|
|
396
|
-
class ChosenComponents(
|
|
400
|
+
class ChosenComponents(QScrollArea):
|
|
397
401
|
"""
|
|
398
402
|
:type check_box: dict[int, ComponentCheckBox]
|
|
399
403
|
"""
|
|
@@ -404,6 +408,7 @@ class ChosenComponents(QWidget):
|
|
|
404
408
|
|
|
405
409
|
def __init__(self):
|
|
406
410
|
super().__init__()
|
|
411
|
+
self.setWidget(QWidget(self))
|
|
407
412
|
self.check_box = {}
|
|
408
413
|
self.check_all_btn = QPushButton("Select all")
|
|
409
414
|
self.check_all_btn.clicked.connect(self.check_all)
|
|
@@ -416,19 +421,33 @@ class ChosenComponents(QWidget):
|
|
|
416
421
|
self.check_layout = FlowLayout()
|
|
417
422
|
main_layout.addLayout(btn_layout)
|
|
418
423
|
main_layout.addLayout(self.check_layout)
|
|
419
|
-
self.setLayout(main_layout)
|
|
424
|
+
self.widget().setLayout(main_layout)
|
|
425
|
+
self.setWidgetResizable(True)
|
|
426
|
+
self.setHorizontalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAlwaysOff)
|
|
427
|
+
self.setVerticalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAsNeeded)
|
|
420
428
|
|
|
421
429
|
def other_component_choose(self, num):
|
|
422
430
|
check = self.check_box[num]
|
|
423
431
|
check.setChecked(not check.isChecked())
|
|
432
|
+
self.ensureWidgetVisible(check)
|
|
424
433
|
|
|
425
434
|
def check_all(self):
|
|
426
|
-
|
|
427
|
-
|
|
435
|
+
prev = self.blockSignals(True)
|
|
436
|
+
try:
|
|
437
|
+
for el in self.check_box.values():
|
|
438
|
+
el.setChecked(True)
|
|
439
|
+
finally:
|
|
440
|
+
self.blockSignals(prev)
|
|
441
|
+
self.check_change_signal.emit()
|
|
428
442
|
|
|
429
443
|
def un_check_all(self):
|
|
430
|
-
|
|
431
|
-
|
|
444
|
+
prev = self.blockSignals(True)
|
|
445
|
+
try:
|
|
446
|
+
for el in self.check_box.values():
|
|
447
|
+
el.setChecked(False)
|
|
448
|
+
finally:
|
|
449
|
+
self.blockSignals(prev)
|
|
450
|
+
self.check_change_signal.emit()
|
|
432
451
|
|
|
433
452
|
def remove_components(self):
|
|
434
453
|
self.check_layout.clear()
|
|
@@ -439,31 +458,46 @@ class ChosenComponents(QWidget):
|
|
|
439
458
|
el.mouse_enter.disconnect()
|
|
440
459
|
self.check_box.clear()
|
|
441
460
|
|
|
442
|
-
def new_choose(self, num, chosen_components):
|
|
443
|
-
self.
|
|
461
|
+
def new_choose(self, num: int, chosen_components: Sequence[int]) -> None:
|
|
462
|
+
self.set_components(range(1, num + 1), chosen_components)
|
|
444
463
|
|
|
445
|
-
def
|
|
464
|
+
def set_components(self, components_index, chosen_components: Union[Sequence[int], None] = None):
|
|
465
|
+
if chosen_components is None:
|
|
466
|
+
chosen_components = []
|
|
446
467
|
chosen_components = set(chosen_components)
|
|
447
|
-
self.blockSignals(True)
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
468
|
+
prev = self.blockSignals(True)
|
|
469
|
+
try:
|
|
470
|
+
self.remove_components()
|
|
471
|
+
for el in components_index:
|
|
472
|
+
check = ComponentCheckBox(el)
|
|
473
|
+
if el in chosen_components:
|
|
474
|
+
check.setChecked(True)
|
|
475
|
+
check.stateChanged.connect(self.check_change)
|
|
476
|
+
check.mouse_enter.connect(self.mouse_enter.emit)
|
|
477
|
+
check.mouse_leave.connect(self.mouse_leave.emit)
|
|
478
|
+
self.check_box[el] = check
|
|
479
|
+
self.check_layout.addWidget(check)
|
|
480
|
+
finally:
|
|
481
|
+
self.blockSignals(prev)
|
|
459
482
|
self.update()
|
|
460
483
|
self.check_change_signal.emit()
|
|
461
484
|
|
|
485
|
+
def set_chosen(self, chosen_components: Sequence[int]):
|
|
486
|
+
prev = self.blockSignals(True)
|
|
487
|
+
chosen_components = set(chosen_components)
|
|
488
|
+
try:
|
|
489
|
+
for num, check in self.check_box.items():
|
|
490
|
+
check.setChecked(num in chosen_components)
|
|
491
|
+
finally:
|
|
492
|
+
self.blockSignals(prev)
|
|
493
|
+
self.check_change_signal.emit()
|
|
494
|
+
|
|
462
495
|
def check_change(self):
|
|
463
496
|
self.check_change_signal.emit()
|
|
464
497
|
|
|
465
498
|
def change_state(self, num, val):
|
|
466
499
|
self.check_box[num].setChecked(val)
|
|
500
|
+
self.ensureWidgetVisible(self.check_box[num])
|
|
467
501
|
|
|
468
502
|
def get_state(self, num: int) -> bool:
|
|
469
503
|
# TODO Check what situation create report of id ID: af9b57f074264169b4353aa1e61d8bc2
|
|
@@ -527,6 +561,7 @@ class AlgorithmOptions(QWidget):
|
|
|
527
561
|
self.choose_components.check_change_signal.connect(image_view.refresh_selected)
|
|
528
562
|
self.choose_components.mouse_leave.connect(image_view.component_unmark)
|
|
529
563
|
self.choose_components.mouse_enter.connect(image_view.component_mark)
|
|
564
|
+
|
|
530
565
|
self.chosen_list = []
|
|
531
566
|
self.progress_bar2 = QProgressBar()
|
|
532
567
|
self.progress_bar2.setHidden(True)
|
|
@@ -566,8 +601,10 @@ class AlgorithmOptions(QWidget):
|
|
|
566
601
|
main_layout.addWidget(self.progress_bar2)
|
|
567
602
|
main_layout.addWidget(self.progress_bar)
|
|
568
603
|
main_layout.addWidget(self.progress_info_lab)
|
|
569
|
-
|
|
570
|
-
|
|
604
|
+
split = QSplitter(Qt.Orientation.Vertical)
|
|
605
|
+
split.addWidget(self.algorithm_choose_widget)
|
|
606
|
+
split.addWidget(self.choose_components)
|
|
607
|
+
main_layout.addWidget(split, 1)
|
|
571
608
|
down_layout = QHBoxLayout()
|
|
572
609
|
down_layout.addWidget(self.keep_chosen_components_chk)
|
|
573
610
|
down_layout.addWidget(self.show_parameters)
|
|
@@ -659,7 +696,7 @@ class AlgorithmOptions(QWidget):
|
|
|
659
696
|
|
|
660
697
|
def _image_changed(self):
|
|
661
698
|
self.settings.roi = None
|
|
662
|
-
self.choose_components.
|
|
699
|
+
self.choose_components.set_components([], [])
|
|
663
700
|
|
|
664
701
|
def _execute_in_background_init(self):
|
|
665
702
|
if self.batch_process.isRunning():
|
|
@@ -170,17 +170,15 @@ class StackSettings(BaseSettings):
|
|
|
170
170
|
data.selected_components,
|
|
171
171
|
self.keep_chosen_components,
|
|
172
172
|
)
|
|
173
|
-
self.chosen_components_widget.set_chose(
|
|
174
|
-
sorted(state2.roi_extraction_parameters.keys()), state2.selected_components
|
|
175
|
-
)
|
|
176
173
|
self.roi = state2.roi_info
|
|
174
|
+
self.chosen_components_widget.set_chosen(state2.selected_components)
|
|
175
|
+
|
|
177
176
|
self.components_parameters_dict = state2.roi_extraction_parameters
|
|
178
177
|
else:
|
|
179
178
|
self.set_history(data.history)
|
|
180
|
-
self.chosen_components_widget.set_chose(
|
|
181
|
-
sorted(data.roi_extraction_parameters.keys()), data.selected_components
|
|
182
|
-
)
|
|
183
179
|
self.roi = data.roi_info
|
|
180
|
+
self.chosen_components_widget.set_chosen(data.selected_components)
|
|
181
|
+
|
|
184
182
|
self.components_parameters_dict = data.roi_extraction_parameters
|
|
185
183
|
|
|
186
184
|
@staticmethod
|
|
@@ -304,18 +302,22 @@ class StackSettings(BaseSettings):
|
|
|
304
302
|
raise ValueError("ROI do not fit to image") from e
|
|
305
303
|
if save_chosen:
|
|
306
304
|
state2 = self.transform_state(state, new_roi_info, segmentation_parameters, list_of_components, save_chosen)
|
|
307
|
-
self.chosen_components_widget.set_chose(
|
|
308
|
-
sorted(state2.roi_extraction_parameters.keys()), state2.selected_components
|
|
309
|
-
)
|
|
310
305
|
self.roi = state2.roi_info
|
|
306
|
+
self.chosen_components_widget.set_chosen(state2.selected_components)
|
|
311
307
|
self.components_parameters_dict = state2.roi_extraction_parameters
|
|
312
308
|
else:
|
|
313
|
-
selected_parameters = {i: segmentation_parameters[i] for i in new_roi_info.bound_info}
|
|
314
|
-
|
|
315
|
-
self.chosen_components_widget.set_chose(sorted(selected_parameters.keys()), list_of_components)
|
|
316
309
|
self.roi = new_roi_info
|
|
310
|
+
self.chosen_components_widget.set_chosen(list_of_components)
|
|
317
311
|
self.components_parameters_dict = segmentation_parameters
|
|
318
312
|
|
|
313
|
+
def post_roi_set(self):
|
|
314
|
+
if self.chosen_components_widget is not None:
|
|
315
|
+
prev = self.chosen_components_widget.blockSignals(True)
|
|
316
|
+
try:
|
|
317
|
+
self.chosen_components_widget.set_components(self.roi_info.bound_info.keys(), [])
|
|
318
|
+
finally:
|
|
319
|
+
self.chosen_components_widget.blockSignals(prev)
|
|
320
|
+
|
|
319
321
|
|
|
320
322
|
def get_mask(
|
|
321
323
|
segmentation: typing.Optional[np.ndarray], mask: typing.Optional[np.ndarray], selected: list[int]
|
|
@@ -3,6 +3,66 @@ changelog = """
|
|
|
3
3
|
|
|
4
4
|
All notable changes to this project will be documented in this file.
|
|
5
5
|
|
|
6
|
+
## 0.16.5 - 2026-03-24
|
|
7
|
+
|
|
8
|
+
### 🚀 Features
|
|
9
|
+
|
|
10
|
+
- Use `QScrollArea` for components selection ([#1328](https://github.com/4DNucleome/PartSeg/pull/1328))
|
|
11
|
+
|
|
12
|
+
### 🐛 Bug Fixes
|
|
13
|
+
|
|
14
|
+
- Fix `QtViewer` initialization as preparation for napari 0.7.0 ([#1351](https://github.com/4DNucleome/PartSeg/pull/1351))
|
|
15
|
+
|
|
16
|
+
### 📚 Documentation
|
|
17
|
+
|
|
18
|
+
- Update changelog for 0.16.5 ([#1372](https://github.com/4DNucleome/PartSeg/pull/1372))
|
|
19
|
+
|
|
20
|
+
### 🧪 Testing
|
|
21
|
+
|
|
22
|
+
- [Automatic] Constraints upgrades: `imagecodecs`, `imageio`, `ipykernel`, `ipython`, `pydantic`, `scipy`, `sentry-sdk`, `traceback-with-variables` ([#1329](https://github.com/4DNucleome/PartSeg/pull/1329))
|
|
23
|
+
- [Automatic] Constraints upgrades: `oiffile`, `tifffile` ([#1337](https://github.com/4DNucleome/PartSeg/pull/1337))
|
|
24
|
+
- [Automatic] Constraints upgrades: `numpy`, `sentry-sdk`, `tifffile` ([#1341](https://github.com/4DNucleome/PartSeg/pull/1341))
|
|
25
|
+
- [Automatic] Constraints upgrades: `imagecodecs`, `numpy`, `packaging`, `pandas`, `qtawesome`, `sentry-sdk`, `tifffile` ([#1347](https://github.com/4DNucleome/PartSeg/pull/1347))
|
|
26
|
+
- [Automatic] Constraints upgrades: `ipykernel`, `ipython`, `oiffile`, `qtconsole`, `sentry-sdk`, `superqt`, `tifffile` ([#1353](https://github.com/4DNucleome/PartSeg/pull/1353))
|
|
27
|
+
- [Automatic] Constraints upgrades: `pandas`, `scipy`, `sentry-sdk`, `tifffile` ([#1357](https://github.com/4DNucleome/PartSeg/pull/1357))
|
|
28
|
+
- [Automatic] Constraints upgrades: `sentry-sdk` ([#1370](https://github.com/4DNucleome/PartSeg/pull/1370))
|
|
29
|
+
|
|
30
|
+
### ⚙️ Miscellaneous Tasks
|
|
31
|
+
|
|
32
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1325](https://github.com/4DNucleome/PartSeg/pull/1325))
|
|
33
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1330](https://github.com/4DNucleome/PartSeg/pull/1330))
|
|
34
|
+
- Add `tzdata` to hiddenimports, as preparation for `pandas` 3.0 ([#1335](https://github.com/4DNucleome/PartSeg/pull/1335))
|
|
35
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1333](https://github.com/4DNucleome/PartSeg/pull/1333))
|
|
36
|
+
- Drop macOS-13 on Azure Pipelines, fix parameter name for pyinstaller template ([#1338](https://github.com/4DNucleome/PartSeg/pull/1338))
|
|
37
|
+
- Add Python 3.13 to supported versions ([#1327](https://github.com/4DNucleome/PartSeg/pull/1327))
|
|
38
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1336](https://github.com/4DNucleome/PartSeg/pull/1336))
|
|
39
|
+
- Update runners in make-release workflow ([#1344](https://github.com/4DNucleome/PartSeg/pull/1344))
|
|
40
|
+
- Remove NumPy hack for building executable on macOS ([#1345](https://github.com/4DNucleome/PartSeg/pull/1345))
|
|
41
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1342](https://github.com/4DNucleome/PartSeg/pull/1342))
|
|
42
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1346](https://github.com/4DNucleome/PartSeg/pull/1346))
|
|
43
|
+
- Accept `time` argument in `not_start` mock of timer `start` ([#1350](https://github.com/4DNucleome/PartSeg/pull/1350))
|
|
44
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1354](https://github.com/4DNucleome/PartSeg/pull/1354))
|
|
45
|
+
- Update coderabbitai configuration to not expect docstrings in tests ([#1355](https://github.com/4DNucleome/PartSeg/pull/1355))
|
|
46
|
+
- Drop test against pyside2, fix test for napari 0.7.0, add testing against Python 3.13 ([#1352](https://github.com/4DNucleome/PartSeg/pull/1352))
|
|
47
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1356](https://github.com/4DNucleome/PartSeg/pull/1356))
|
|
48
|
+
- Move czifile fix to a separate file ([#1362](https://github.com/4DNucleome/PartSeg/pull/1362))
|
|
49
|
+
- Fix overwriting default path for napari settings in tests ([#1363](https://github.com/4DNucleome/PartSeg/pull/1363))
|
|
50
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1359](https://github.com/4DNucleome/PartSeg/pull/1359))
|
|
51
|
+
- Use `pyvista/setup-headless-display-action` to set up the display ([#1367](https://github.com/4DNucleome/PartSeg/pull/1367))
|
|
52
|
+
- [pre-commit.ci] pre-commit autoupdate ([#1371](https://github.com/4DNucleome/PartSeg/pull/1371))
|
|
53
|
+
|
|
54
|
+
### 🛡️ Security
|
|
55
|
+
|
|
56
|
+
- *(deps)* Bump peter-evans/create-pull-request from 7 to 8 ([#1340](https://github.com/4DNucleome/PartSeg/pull/1340))
|
|
57
|
+
- *(deps)* Bump actions/upload-artifact from 6 to 7 in the github-actions group across 1 directory ([#1361](https://github.com/4DNucleome/PartSeg/pull/1361))
|
|
58
|
+
- *(deps)* Bump actions/download-artifact from 7 to 8 in the github-actions group ([#1368](https://github.com/4DNucleome/PartSeg/pull/1368))
|
|
59
|
+
|
|
60
|
+
### Build
|
|
61
|
+
|
|
62
|
+
- *(deps)* Bump the github-actions group with 2 updates ([#1331](https://github.com/4DNucleome/PartSeg/pull/1331))
|
|
63
|
+
- *(deps)* Bump actions/checkout from 5 to 6 in the github-actions group ([#1334](https://github.com/4DNucleome/PartSeg/pull/1334))
|
|
64
|
+
- *(deps)* Bump the github-actions group with 2 updates ([#1339](https://github.com/4DNucleome/PartSeg/pull/1339))
|
|
65
|
+
|
|
6
66
|
## 0.16.4 - 2025-10-21
|
|
7
67
|
|
|
8
68
|
### 🚀 Features
|
|
@@ -126,11 +126,6 @@ class ImageSettings(QObject):
|
|
|
126
126
|
warnings.warn("segmentation parameter is renamed to roi", DeprecationWarning, stacklevel=2)
|
|
127
127
|
return self.roi
|
|
128
128
|
|
|
129
|
-
@property
|
|
130
|
-
def roi(self) -> np.ndarray:
|
|
131
|
-
"""current roi"""
|
|
132
|
-
return self._roi_info.roi
|
|
133
|
-
|
|
134
129
|
@property
|
|
135
130
|
def segmentation_info(self) -> ROIInfo: # pragma: no cover
|
|
136
131
|
warnings.warn("segmentation info parameter is renamed to roi", DeprecationWarning, stacklevel=2)
|
|
@@ -140,11 +135,17 @@ class ImageSettings(QObject):
|
|
|
140
135
|
def roi_info(self) -> ROIInfo:
|
|
141
136
|
return self._roi_info
|
|
142
137
|
|
|
138
|
+
@property
|
|
139
|
+
def roi(self) -> np.ndarray:
|
|
140
|
+
"""current roi"""
|
|
141
|
+
return self._roi_info.roi
|
|
142
|
+
|
|
143
143
|
@roi.setter
|
|
144
144
|
def roi(self, val: Union[np.ndarray, ROIInfo]):
|
|
145
145
|
if val is None:
|
|
146
146
|
self._roi_info = ROIInfo(val)
|
|
147
147
|
self._additional_layers = {}
|
|
148
|
+
self.post_roi_set()
|
|
148
149
|
self.roi_clean.emit()
|
|
149
150
|
return
|
|
150
151
|
try:
|
|
@@ -155,8 +156,12 @@ class ImageSettings(QObject):
|
|
|
155
156
|
except ValueError as e:
|
|
156
157
|
raise ValueError(ROI_NOT_FIT) from e
|
|
157
158
|
self._additional_layers = {}
|
|
159
|
+
self.post_roi_set()
|
|
158
160
|
self.roi_changed.emit(self._roi_info)
|
|
159
161
|
|
|
162
|
+
def post_roi_set(self) -> None:
|
|
163
|
+
"""called after roi is set, for subclasses to override"""
|
|
164
|
+
|
|
160
165
|
@property
|
|
161
166
|
def sizes(self):
|
|
162
167
|
return self._roi_info.sizes
|
|
@@ -524,14 +529,9 @@ class BaseSettings(ViewSettings):
|
|
|
524
529
|
self.last_executed_algorithm = result.parameters.algorithm
|
|
525
530
|
self.set_algorithm(f"algorithms.{result.parameters.algorithm}", result.parameters.values)
|
|
526
531
|
# Fixme not use EventedDict here
|
|
527
|
-
|
|
528
|
-
roi_info = result.roi_info.fit_to_image(self.image)
|
|
529
|
-
except ValueError as e: # pragma: no cover
|
|
530
|
-
raise ValueError(ROI_NOT_FIT) from e
|
|
532
|
+
self.roi = result.roi_info
|
|
531
533
|
if result.points is not None:
|
|
532
534
|
self.points = result.points
|
|
533
|
-
self._roi_info = roi_info
|
|
534
|
-
self.roi_changed.emit(self._roi_info)
|
|
535
535
|
|
|
536
536
|
def _load_files_call(self, files_list: list[str]):
|
|
537
537
|
self.request_load_files.emit(files_list)
|
|
@@ -227,10 +227,13 @@ class BaseMainWindow(QMainWindow):
|
|
|
227
227
|
return [self.settings.colormap_dict[name][0] for name in colormaps_name]
|
|
228
228
|
|
|
229
229
|
def napari_viewer_show(self):
|
|
230
|
-
viewer = Viewer(
|
|
230
|
+
viewer = Viewer(
|
|
231
|
+
title="Additional output", settings=self.settings, partseg_viewer_name=self.channel_info, show=False
|
|
232
|
+
)
|
|
231
233
|
viewer.scale_bar.unit = "nm"
|
|
232
234
|
viewer.theme = self.settings.theme_name
|
|
233
235
|
viewer.create_initial_layers(image=True, roi=True, additional_layers=False, points=True)
|
|
236
|
+
viewer.show()
|
|
234
237
|
self.viewer_list.append(viewer)
|
|
235
238
|
viewer.window.qt_viewer.destroyed.connect(lambda _x: self.close_viewer(viewer))
|
|
236
239
|
|
|
@@ -238,9 +241,12 @@ class BaseMainWindow(QMainWindow):
|
|
|
238
241
|
if not self.settings.additional_layers:
|
|
239
242
|
QMessageBox().information(self, "No data", "Last executed algorithm does not provide additional data")
|
|
240
243
|
return
|
|
241
|
-
viewer = Viewer(
|
|
244
|
+
viewer = Viewer(
|
|
245
|
+
title="Additional output", settings=self.settings, partseg_viewer_name=self.channel_info, show=False
|
|
246
|
+
)
|
|
242
247
|
viewer.theme = self.settings.theme_name
|
|
243
248
|
viewer.create_initial_layers(image=with_channels, roi=False, additional_layers=True, points=False)
|
|
249
|
+
viewer.show()
|
|
244
250
|
self.viewer_list.append(viewer)
|
|
245
251
|
viewer.window.qt_viewer.destroyed.connect(lambda _x: self.close_viewer(viewer))
|
|
246
252
|
|
|
@@ -104,7 +104,7 @@ class LoadRecentFiles(QDialog):
|
|
|
104
104
|
)
|
|
105
105
|
|
|
106
106
|
def get_files(self) -> list[tuple[list[str], str]]:
|
|
107
|
-
return [item.data(Qt.ItemDataRole.UserRole) for item in self.file_list.selectedItems()]
|
|
107
|
+
return [tuple(item.data(Qt.ItemDataRole.UserRole)) for item in self.file_list.selectedItems()]
|
|
108
108
|
|
|
109
109
|
def accept(self) -> None:
|
|
110
110
|
self.settings.set_in_profile("multiple_files_dialog_size", (self.size().width(), self.size().height()))
|
|
@@ -584,7 +584,7 @@ class ImageView(QWidget):
|
|
|
584
584
|
else:
|
|
585
585
|
logging.debug("[_remove_worker] %s", sender)
|
|
586
586
|
|
|
587
|
-
def _add_layer_util(self, index, layer, filters):
|
|
587
|
+
def _add_layer_util(self, index: int, layer: _NapariImage, filters: list[tuple[NoiseFilterType, float]]) -> None:
|
|
588
588
|
if layer not in self.viewer.layers:
|
|
589
589
|
self.viewer.add_layer(layer)
|
|
590
590
|
|
|
@@ -936,7 +936,10 @@ class ImageView(QWidget):
|
|
|
936
936
|
class NapariQtViewer(QtViewer):
|
|
937
937
|
def __init__(self, viewer):
|
|
938
938
|
super().__init__(viewer, show_welcome_screen=False)
|
|
939
|
-
self.widget(0).layout()
|
|
939
|
+
layout = self.widget(0).layout()
|
|
940
|
+
if layout is not None:
|
|
941
|
+
# Before napari 0.7.0
|
|
942
|
+
layout.setContentsMargins(0, 5, 0, 2)
|
|
940
943
|
|
|
941
944
|
def dragEnterEvent(self, event): # pylint: disable=no-self-use
|
|
942
945
|
"""
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.16.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 16,
|
|
31
|
+
__version__ = version = '0.16.5'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 16, 5)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'g661a0c1fd'
|