PartSeg 0.15.4__tar.gz → 0.15.4b0__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.15.4 → partseg-0.15.4b0}/PKG-INFO +13 -99
- {partseg-0.15.4 → partseg-0.15.4b0}/changelog.md +0 -82
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_launcher/check_survey.py +1 -3
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_launcher/check_version.py +5 -3
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/advanced_window.py +3 -7
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/export_batch.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/measurement_widget.py +2 -2
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/partseg_settings.py +1 -5
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_mask/main_window.py +2 -4
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/changelog.py +0 -82
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/except_hook.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/segmentation_thread.py +1 -3
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/advanced_tabs.py +1 -24
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/algorithms_description.py +1 -6
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/channel_control.py +3 -5
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/colormap_creator.py +5 -6
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/error_report.py +2 -2
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/image_adjustment.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/napari_image_view.py +12 -30
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/launcher_main.py +12 -24
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/napari.yaml +0 -5
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/__init__.py +0 -8
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/__init__.py +0 -2
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/lables_control.py +2 -5
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/measurement_widget.py +2 -5
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/search_label_widget.py +0 -3
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/simple_measurement_widget.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/utils.py +4 -6
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/version.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg.egg-info/PKG-INFO +13 -99
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg.egg-info/SOURCES.txt +0 -3
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg.egg-info/requires.txt +12 -20
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/algorithm_describe_base.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/batch_processing/batch_backend.py +3 -6
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/load_functions.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/measurement_base.py +1 -7
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/measurement_calculation.py +3 -5
- partseg-0.15.4b0/package/PartSegCore/image_transforming/__init__.py +9 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/image_transforming/image_projection.py +4 -4
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/image_transforming/interpolate_image.py +1 -2
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/image_transforming/swap_time_stack.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/image_transforming/transform_base.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/mask/io_functions.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/napari_plugins/loader.py +0 -46
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/napari_plugins/save_tiff_layer.py +5 -5
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/segmentation_algorithm.py +3 -12
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/threshold.py +2 -2
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegImage/__init__.py +1 -3
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegImage/image.py +76 -285
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegImage/image_reader.py +18 -50
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegImage/tifffile_fixes.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/conftest.py +29 -68
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/conftest.py +9 -15
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_analysis/test_advanced_window.py +2 -2
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_analysis/test_batch.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_analysis/test_export_batch.py +2 -2
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_analysis/test_image_view.py +4 -4
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_analysis/test_main_window.py +4 -4
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_mask/test_batch.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_mask/test_main_window.py +4 -4
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_analysis.py +9 -26
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_base_widgets.py +3 -4
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_channel_control.py +6 -6
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_check_release.py +7 -12
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_common_backend.py +11 -13
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_common_gui.py +18 -30
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_main_windows.py +6 -6
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_napari_image_view.py +9 -13
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_napari_widgets.py +13 -62
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_roi_analysis_batch.py +2 -2
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_sentry.py +23 -31
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_settings.py +9 -13
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_viewer.py +6 -6
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_analysis_batch.py +16 -16
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_image_adjustment.py +5 -43
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_io.py +6 -6
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_mask_create.py +1 -1
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_measurements.py +18 -18
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_napari_plugins.py +11 -32
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_segmentation.py +7 -7
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegImage/test_image.py +76 -214
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegImage/test_image_reader.py +0 -2
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegImage/test_image_writer.py +7 -34
- partseg-0.15.4b0/package/tests/test_data/napari_measurements_profile.json +170 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/pyproject.toml +9 -34
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.10.txt +69 -70
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.10_pydantic_1.txt +68 -69
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.11.txt +70 -70
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.11_docs.txt +82 -61
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.11_pydantic_1.txt +69 -69
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.12.txt +64 -63
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.12_pydantic_1.txt +63 -62
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.8.txt +48 -46
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.8_pydantic_1.txt +47 -45
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.9.txt +61 -62
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/constraints_py3.9_pydantic_1.txt +60 -61
- partseg-0.15.4/package/PartSeg/common_gui/dict_viewer.py +0 -38
- partseg-0.15.4/package/PartSeg/plugins/napari_widgets/metadata_viewer.py +0 -29
- partseg-0.15.4/package/PartSegCore/image_transforming/__init__.py +0 -18
- partseg-0.15.4/package/PartSegCore/image_transforming/combine_channels.py +0 -62
- partseg-0.15.4/package/tests/test_data/napari_measurements_profile.json +0 -372
- {partseg-0.15.4 → partseg-0.15.4b0}/.napari/DESCRIPTION.md +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/.napari/config.yml +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/CITATION.cff +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/License.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/MANIFEST.in +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/Readme.md +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/__main__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_launcher/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_launcher/main_window.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/batch_window.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/calculation_pipeline_thread.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/image_view.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/main_window.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/prepare_plan_widget.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_analysis/profile_export.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_mask/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_mask/batch_proceed.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_mask/image_view.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_mask/segmentation_info_dialog.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_mask/simple_measurements.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/_roi_mask/stack_settings.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/abstract_class.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/base_argparser.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/base_settings.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/load_backup.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/partially_const_dict.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/progress_thread.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_backend/python_syntax_highlight.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/about_dialog.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/collapse_checkbox.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/custom_buttons.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/custom_load_dialog.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/custom_save_dialog.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/equal_column_layout.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/exception_hooks.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/flow_layout.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/icon_selector.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/label_create.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/lock_checkbox.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/main_window.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/mask_widget.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/multiple_file_widget.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/napari_viewer_wrap.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/numpy_qimage.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/qt_console.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/qt_modal.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/qt_util.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/searchable_combo_box.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/searchable_list_widget.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/select_multiple_files.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/show_directory_dialog.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/stack_image_view.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/stacked_widget_with_selector.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/universal_gui_part.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/common_gui/waiting_dialog.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/itk_snap_save/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/modeling_save/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/modeling_save/save_modeling_data.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/_settings.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/algorithm_widgets.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/colormap_control.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/copy_labels.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/mask_create_widget.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/napari_widgets/roi_extraction_algorithms.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/old_partseg/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/plugins/old_partseg/old_partseg.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg/state_store.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg.egg-info/dependency_links.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg.egg-info/entry_points.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSeg.egg-info/top_level.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/_old_json_hooks.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/algorithm_description.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/analysis_utils.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/batch_processing/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/batch_processing/parallel_backend.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/calculate_pipeline.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/calculation_plan.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/io_utils.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/analysis/save_functions.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/autofit.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/channel_class.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/class_generator.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/color_image/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/color_image/base_colors.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/color_image/color_data.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/convex_fill.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/custom_name_generate.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/image_operations.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/io_utils.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/json_hooks.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/mask/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/mask/algorithm_description.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/mask/history_utils.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/mask_create.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/mask_partition_utils.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/napari_plugins/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/napari_plugins/load_image.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/napari_plugins/load_mask_project.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/napari_plugins/load_masked_image.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/napari_plugins/load_roi_project.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/napari_plugins/save_mask_roi.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/plugins/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/project_info.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/register.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/roi_info.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/algorithm_base.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/border_smoothing.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/mu_mid_point.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/noise_filtering.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/restartable_segmentation_algorithms.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/utils.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/segmentation/watershed.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/sphinx/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/sphinx/auto_parameters.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/universal_const.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegCore/utils.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegImage/channel_class.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/PartSegImage/image_writer.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_analysis/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_analysis/test_batch_window.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_analysis/test_profile_export.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/roi_mask/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_base.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_check_survey.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_colormap_create.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_io.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_label_choose.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_launcher.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSeg/test_window_import.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/segmentation/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/segmentation/test_algorithm_base.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/segmentation/test_segmentation_algorithm.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/segmentation/test_threshold.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_algorithm_describe_base.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_base.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_class_generator.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_class_register.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_json_hooks.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_mask_partition.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_min_req.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_mso.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_pipeline.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_segmentation_proceses.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_smooth.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegCore/test_utils.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegImage/__init__.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_PartSegImage/test_channel_class.py +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/calculation_plan_0.9.2.3.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/measurements_profile.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/notebook/neuron_types_measurment.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/notebook/neuron_types_segmentation.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/notebook/segment_data.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.10.4/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.10.4/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.10.4/analysis/view_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.1/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.1/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.1/analysis/view_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.1/mask/segmentation_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.1/mask/view_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.14/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.14/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.14/analysis/view_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.14/mask/segmentation_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.14/mask/view_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.15/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.15/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.15/analysis/view_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.15/mask/segmentation_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.13.15/mask/view_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.8.6/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.8.6/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/old_saves/0.8.6/analysis/view_settings.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/ome.xsd.xml +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/problematic_excel_batch.xlsx +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/problematic_json_batch.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/problematic_profile_dict.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/range_profile.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/sample_batch_output.xlsx +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/segment_profile_0.9.2.3.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/view_settings_v0.12.6.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/package/tests/test_data/workflow.json +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/dependabot_runtime.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/pre_test_problematic_version.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/pydantic_1.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/requirements_ci.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/requirements_dev.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/requirements_test.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/requirements/version_denylist.txt +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/setup.cfg +0 -0
- {partseg-0.15.4 → partseg-0.15.4b0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PartSeg
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.4b0
|
|
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: BSD-3-Clause
|
|
@@ -50,19 +50,18 @@ Requires-Dist: magicgui!=0.5.0,>=0.4.0
|
|
|
50
50
|
Requires-Dist: mahotas>=1.4.10
|
|
51
51
|
Requires-Dist: napari>=0.4.14
|
|
52
52
|
Requires-Dist: nme>=0.1.7
|
|
53
|
-
Requires-Dist: numpy>=1.18.5
|
|
54
|
-
Requires-Dist: numpy<2,>=1.18.5; python_version < "3.10"
|
|
53
|
+
Requires-Dist: numpy>=1.18.5
|
|
55
54
|
Requires-Dist: oiffile>=2020.1.18
|
|
56
55
|
Requires-Dist: openpyxl>=2.5.7
|
|
57
56
|
Requires-Dist: packaging>=20.0
|
|
58
57
|
Requires-Dist: pandas>=1.1.0
|
|
59
58
|
Requires-Dist: psygnal>=0.3.1
|
|
60
|
-
Requires-Dist: pydantic
|
|
59
|
+
Requires-Dist: pydantic>=1.9.1
|
|
61
60
|
Requires-Dist: pygments>=2.12.0
|
|
62
61
|
Requires-Dist: qtconsole>=4.7.7
|
|
63
|
-
Requires-Dist: requests>=2.
|
|
62
|
+
Requires-Dist: requests>=2.18.0
|
|
64
63
|
Requires-Dist: scipy>=1.4.1
|
|
65
|
-
Requires-Dist: sentry-sdk>=
|
|
64
|
+
Requires-Dist: sentry-sdk>=0.14.3
|
|
66
65
|
Requires-Dist: six>=1.11.0
|
|
67
66
|
Requires-Dist: superqt>=0.3.0
|
|
68
67
|
Requires-Dist: sympy>=1.1.1
|
|
@@ -72,6 +71,7 @@ Requires-Dist: vispy>=0.9.4
|
|
|
72
71
|
Requires-Dist: xlrd>=1.1.0
|
|
73
72
|
Requires-Dist: xlsxwriter>=2.0.0
|
|
74
73
|
Provides-Extra: accelerate
|
|
74
|
+
Requires-Dist: PyOpenGL-accelerate>=3.1.5; platform_machine != "arm64" and extra == "accelerate"
|
|
75
75
|
Provides-Extra: all
|
|
76
76
|
Requires-Dist: PartSeg[accelerate,pyqt5]; extra == "all"
|
|
77
77
|
Provides-Extra: docs
|
|
@@ -82,25 +82,21 @@ Requires-Dist: sphinx-qt-documentation; extra == "docs"
|
|
|
82
82
|
Provides-Extra: pyinstaller
|
|
83
83
|
Requires-Dist: PartSeg[pyinstaller_base,pyqt5]; extra == "pyinstaller"
|
|
84
84
|
Provides-Extra: pyinstaller-base
|
|
85
|
-
Requires-Dist:
|
|
85
|
+
Requires-Dist: PyOpenGL-accelerate>=3.1.5; platform_machine != "arm64" and extra == "pyinstaller-base"
|
|
86
86
|
Requires-Dist: PyInstaller; extra == "pyinstaller-base"
|
|
87
87
|
Requires-Dist: pydantic; extra == "pyinstaller-base"
|
|
88
88
|
Provides-Extra: pyqt
|
|
89
|
-
Requires-Dist:
|
|
89
|
+
Requires-Dist: PyQt5!=5.15.0,>=5.12.3; extra == "pyqt"
|
|
90
90
|
Provides-Extra: pyqt5
|
|
91
91
|
Requires-Dist: PyQt5!=5.15.0,>=5.12.3; extra == "pyqt5"
|
|
92
|
-
Requires-Dist: napari[pyqt5]; extra == "pyqt5"
|
|
93
92
|
Provides-Extra: pyqt6
|
|
94
93
|
Requires-Dist: PyQt6; extra == "pyqt6"
|
|
95
|
-
Requires-Dist: napari[pyqt6]>=0.5.0; python_version >= "3.9" and extra == "pyqt6"
|
|
96
94
|
Provides-Extra: pyside
|
|
97
|
-
Requires-Dist:
|
|
95
|
+
Requires-Dist: PySide2!=5.15.0,>=5.12.3; extra == "pyside"
|
|
98
96
|
Provides-Extra: pyside2
|
|
99
97
|
Requires-Dist: PySide2!=5.15.0,>=5.12.3; extra == "pyside2"
|
|
100
|
-
Requires-Dist: napari[pyside]; extra == "pyside2"
|
|
101
98
|
Provides-Extra: pyside6
|
|
102
99
|
Requires-Dist: PySide6; extra == "pyside6"
|
|
103
|
-
Requires-Dist: napari[pyside6_experimental]>=0.5.0; python_version >= "3.9" and extra == "pyside6"
|
|
104
100
|
Provides-Extra: test
|
|
105
101
|
Requires-Dist: coverage; extra == "test"
|
|
106
102
|
Requires-Dist: lxml[html_clean]; extra == "test"
|
|
@@ -149,10 +145,10 @@ This application is designed to help biologist with segmentation based on thresh
|
|
|
149
145
|
|
|
150
146
|
- From binaries:
|
|
151
147
|
|
|
152
|
-
- [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.15.
|
|
153
|
-
- [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.15.
|
|
154
|
-
- [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.15.
|
|
155
|
-
- [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.15.
|
|
148
|
+
- [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.15.4b0/PartSeg-0.15.4b0-windows.zip) (build on Windows 10)
|
|
149
|
+
- [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.15.4b0/PartSeg-0.15.4b0-linux.zip) (build on Ubuntu 20.04)
|
|
150
|
+
- [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.15.4b0/PartSeg-0.15.4b0-macos.zip) (build on macOS 13)
|
|
151
|
+
- [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.15.4b0/PartSeg-0.15.4b0-macos-arm64.zip) (build on macOS 14)
|
|
156
152
|
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.
|
|
157
153
|
|
|
158
154
|
- With pip:
|
|
@@ -242,88 +238,6 @@ from 3D microscopy images for dummies. BMC Bioinformatics 22, 72 (2021).
|
|
|
242
238
|
|
|
243
239
|
All notable changes to this project will be documented in this file.
|
|
244
240
|
|
|
245
|
-
### 0.15.4 - 2024-09-27
|
|
246
|
-
|
|
247
|
-
#### 🚀 Features
|
|
248
|
-
|
|
249
|
-
- Add preview of image metadata ([#1154](https://github.com/4DNucleome/PartSeg/pull/1154))
|
|
250
|
-
- Add option to combine channels using sum and max ([#1159](https://github.com/4DNucleome/PartSeg/pull/1159))
|
|
251
|
-
- Add metadata viewer as napari widget ([#1195](https://github.com/4DNucleome/PartSeg/pull/1195))
|
|
252
|
-
- Read channel colors from `*.czi` metadata ([#1198](https://github.com/4DNucleome/PartSeg/pull/1198))
|
|
253
|
-
- Use image color when add layer to napari ([#1200](https://github.com/4DNucleome/PartSeg/pull/1200))
|
|
254
|
-
|
|
255
|
-
#### 🐛 Bug Fixes
|
|
256
|
-
|
|
257
|
-
- Fix selection of custom label colors for napari 0.5.0 ([#1138](https://github.com/4DNucleome/PartSeg/pull/1138))
|
|
258
|
-
- Add pint call to enforce initialization of unit registry ([#1146](https://github.com/4DNucleome/PartSeg/pull/1146))
|
|
259
|
-
- Workaround for lack of zsd support in czifile ([#1142](https://github.com/4DNucleome/PartSeg/pull/1142))
|
|
260
|
-
- Fix preparing data for `mahotas.haralick` to avoid overflow problem ([#1150](https://github.com/4DNucleome/PartSeg/pull/1150))
|
|
261
|
-
- Fix `use_convex` type from `int` to `bool` for segmentation algorithms ([#1152](https://github.com/4DNucleome/PartSeg/pull/1152))
|
|
262
|
-
- Prevent propagation of decreasing contrast limits set by user ([#1166](https://github.com/4DNucleome/PartSeg/pull/1166))
|
|
263
|
-
- Prevent error on searching component if there is no component ([#1167](https://github.com/4DNucleome/PartSeg/pull/1167))
|
|
264
|
-
- Fix checking if channel requested by MeasurementProfile exists ([#1165](https://github.com/4DNucleome/PartSeg/pull/1165))
|
|
265
|
-
- Fix trying to access to just deleted measurement profile from edit window. ([#1168](https://github.com/4DNucleome/PartSeg/pull/1168))
|
|
266
|
-
- Fix bug in code for checking for survey file ([#1174](https://github.com/4DNucleome/PartSeg/pull/1174))
|
|
267
|
-
- Fix plugin discovery in bundle to register them in napari viewer ([#1175](https://github.com/4DNucleome/PartSeg/pull/1175))
|
|
268
|
-
- Fix problem with setting range of auto-generated widget ([#1187](https://github.com/4DNucleome/PartSeg/pull/1187))
|
|
269
|
-
- Fix reading channel names from single channel czi files ([#1194](https://github.com/4DNucleome/PartSeg/pull/1194))
|
|
270
|
-
|
|
271
|
-
#### 🚜 Refactor
|
|
272
|
-
|
|
273
|
-
- Make warnings error in tests ([#1192](https://github.com/4DNucleome/PartSeg/pull/1192))
|
|
274
|
-
- Merge all channel-specific attributes of the Image class ([#1191](https://github.com/4DNucleome/PartSeg/pull/1191))
|
|
275
|
-
|
|
276
|
-
#### 📚 Documentation
|
|
277
|
-
|
|
278
|
-
- Change homepage URL ([#1139](https://github.com/4DNucleome/PartSeg/pull/1139))
|
|
279
|
-
- Add link for download macOS arm bundle ([#1140](https://github.com/4DNucleome/PartSeg/pull/1140))
|
|
280
|
-
- Add changelog for 0.15.4 release
|
|
281
|
-
- Update changelog ([#1176](https://github.com/4DNucleome/PartSeg/pull/1176))
|
|
282
|
-
|
|
283
|
-
#### 🧪 Testing
|
|
284
|
-
|
|
285
|
-
- \[Automatic\] Constraints upgrades: `napari`, `sentry-sdk`, `sympy` ([#1128](https://github.com/4DNucleome/PartSeg/pull/1128))
|
|
286
|
-
- \[Automatic\] Constraints upgrades: `mahotas`, `numpy`, `sentry-sdk`, `sympy` ([#1145](https://github.com/4DNucleome/PartSeg/pull/1145))
|
|
287
|
-
- \[Automatic\] Constraints upgrades: `numpy`, `tifffile` ([#1163](https://github.com/4DNucleome/PartSeg/pull/1163))
|
|
288
|
-
- \[Automatic\] Constraints upgrades: `napari`, `sentry-sdk`, `tifffile` ([#1169](https://github.com/4DNucleome/PartSeg/pull/1169))
|
|
289
|
-
- \[Automatic\] Constraints upgrades: `magicgui`, `sentry-sdk` ([#1172](https://github.com/4DNucleome/PartSeg/pull/1172))
|
|
290
|
-
- \[Automatic\] Constraints upgrades: `sympy`, `tifffile` ([#1177](https://github.com/4DNucleome/PartSeg/pull/1177))
|
|
291
|
-
- \[Automatic\] Constraints upgrades: `imageio`, `napari`, `numpy` ([#1180](https://github.com/4DNucleome/PartSeg/pull/1180))
|
|
292
|
-
- Constraints upgrades: `sentry-sdk` and fix tests ([#1182](https://github.com/4DNucleome/PartSeg/pull/1182))
|
|
293
|
-
- `napari==0.5.3` related fixes, Constraints upgrades: `imageio`, `ipython`, `numpy`, `qtconsole`, `scipy`, `simpleitk`, `tifffile` ([#1183](https://github.com/4DNucleome/PartSeg/pull/1183))
|
|
294
|
-
- \[Automatic\] Constraints upgrades: `numpy`, `pydantic` ([#1188](https://github.com/4DNucleome/PartSeg/pull/1188))
|
|
295
|
-
- \[Automatic\] Constraints upgrades: `imagecodecs`, `pandas`, `pydantic`, `sentry-sdk`, `sympy`, `tifffile` ([#1190](https://github.com/4DNucleome/PartSeg/pull/1190))
|
|
296
|
-
|
|
297
|
-
#### ⚙️ Miscellaneous Tasks
|
|
298
|
-
|
|
299
|
-
- Speedup tests by use `tox-uv` ([#1141](https://github.com/4DNucleome/PartSeg/pull/1141))
|
|
300
|
-
- Get additional dict from PR branch for checking PR title ([#1144](https://github.com/4DNucleome/PartSeg/pull/1144))
|
|
301
|
-
- Relax numpy constraint ([#1143](https://github.com/4DNucleome/PartSeg/pull/1143))
|
|
302
|
-
- Allow to skip spellchecking PR title ([#1147](https://github.com/4DNucleome/PartSeg/pull/1147))
|
|
303
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1149](https://github.com/4DNucleome/PartSeg/pull/1149))
|
|
304
|
-
- Create only archive with version in name on azures pipeline ([#1151](https://github.com/4DNucleome/PartSeg/pull/1151))
|
|
305
|
-
- Fix tests for napari from repository ([#1148](https://github.com/4DNucleome/PartSeg/pull/1148))
|
|
306
|
-
- Use python 3.11 to determine updated packages in PR description ([#1160](https://github.com/4DNucleome/PartSeg/pull/1160))
|
|
307
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1164](https://github.com/4DNucleome/PartSeg/pull/1164))
|
|
308
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1170](https://github.com/4DNucleome/PartSeg/pull/1170))
|
|
309
|
-
- Disable thumbnail generation in napari layer as it is fragile and not used ([#1171](https://github.com/4DNucleome/PartSeg/pull/1171))
|
|
310
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1173](https://github.com/4DNucleome/PartSeg/pull/1173))
|
|
311
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1178](https://github.com/4DNucleome/PartSeg/pull/1178))
|
|
312
|
-
- Fix call of logger to properly pass arguments to messages ([#1179](https://github.com/4DNucleome/PartSeg/pull/1179))
|
|
313
|
-
- Fix coverage files upload by enable hidden files upload ([#1186](https://github.com/4DNucleome/PartSeg/pull/1186))
|
|
314
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1184](https://github.com/4DNucleome/PartSeg/pull/1184))
|
|
315
|
-
- Use PyQt6 in pre-tests ([#1196](https://github.com/4DNucleome/PartSeg/pull/1196))
|
|
316
|
-
- Add missed code from #1191 ([#1197](https://github.com/4DNucleome/PartSeg/pull/1197))
|
|
317
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1189](https://github.com/4DNucleome/PartSeg/pull/1189))
|
|
318
|
-
- Auto add "skip check PR title" label in update dependencies PR ([#1199](https://github.com/4DNucleome/PartSeg/pull/1199))
|
|
319
|
-
|
|
320
|
-
#### Build
|
|
321
|
-
|
|
322
|
-
- Remove PyOpenGL-accelerate from dependencies because of numpy incompatibility ([#1155](https://github.com/4DNucleome/PartSeg/pull/1155))
|
|
323
|
-
- Update install constraints on numpy and qt packages ([#1157](https://github.com/4DNucleome/PartSeg/pull/1157))
|
|
324
|
-
- Enforce napari 0.5.0 for Qt6 bindings ([#1161](https://github.com/4DNucleome/PartSeg/pull/1161))
|
|
325
|
-
- Require napari>=0.5.0 only for python 3.9+ ([#1162](https://github.com/4DNucleome/PartSeg/pull/1162))
|
|
326
|
-
|
|
327
241
|
### 0.15.3 - 2024-07-08
|
|
328
242
|
|
|
329
243
|
#### 🚀 Features
|
|
@@ -2,88 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## 0.15.4 - 2024-09-27
|
|
6
|
-
|
|
7
|
-
### 🚀 Features
|
|
8
|
-
|
|
9
|
-
- Add preview of image metadata ([#1154](https://github.com/4DNucleome/PartSeg/pull/1154))
|
|
10
|
-
- Add option to combine channels using sum and max ([#1159](https://github.com/4DNucleome/PartSeg/pull/1159))
|
|
11
|
-
- Add metadata viewer as napari widget ([#1195](https://github.com/4DNucleome/PartSeg/pull/1195))
|
|
12
|
-
- Read channel colors from `*.czi` metadata ([#1198](https://github.com/4DNucleome/PartSeg/pull/1198))
|
|
13
|
-
- Use image color when add layer to napari ([#1200](https://github.com/4DNucleome/PartSeg/pull/1200))
|
|
14
|
-
|
|
15
|
-
### 🐛 Bug Fixes
|
|
16
|
-
|
|
17
|
-
- Fix selection of custom label colors for napari 0.5.0 ([#1138](https://github.com/4DNucleome/PartSeg/pull/1138))
|
|
18
|
-
- Add pint call to enforce initialization of unit registry ([#1146](https://github.com/4DNucleome/PartSeg/pull/1146))
|
|
19
|
-
- Workaround for lack of zsd support in czifile ([#1142](https://github.com/4DNucleome/PartSeg/pull/1142))
|
|
20
|
-
- Fix preparing data for `mahotas.haralick` to avoid overflow problem ([#1150](https://github.com/4DNucleome/PartSeg/pull/1150))
|
|
21
|
-
- Fix `use_convex` type from `int` to `bool` for segmentation algorithms ([#1152](https://github.com/4DNucleome/PartSeg/pull/1152))
|
|
22
|
-
- Prevent propagation of decreasing contrast limits set by user ([#1166](https://github.com/4DNucleome/PartSeg/pull/1166))
|
|
23
|
-
- Prevent error on searching component if there is no component ([#1167](https://github.com/4DNucleome/PartSeg/pull/1167))
|
|
24
|
-
- Fix checking if channel requested by MeasurementProfile exists ([#1165](https://github.com/4DNucleome/PartSeg/pull/1165))
|
|
25
|
-
- Fix trying to access to just deleted measurement profile from edit window. ([#1168](https://github.com/4DNucleome/PartSeg/pull/1168))
|
|
26
|
-
- Fix bug in code for checking for survey file ([#1174](https://github.com/4DNucleome/PartSeg/pull/1174))
|
|
27
|
-
- Fix plugin discovery in bundle to register them in napari viewer ([#1175](https://github.com/4DNucleome/PartSeg/pull/1175))
|
|
28
|
-
- Fix problem with setting range of auto-generated widget ([#1187](https://github.com/4DNucleome/PartSeg/pull/1187))
|
|
29
|
-
- Fix reading channel names from single channel czi files ([#1194](https://github.com/4DNucleome/PartSeg/pull/1194))
|
|
30
|
-
|
|
31
|
-
### 🚜 Refactor
|
|
32
|
-
|
|
33
|
-
- Make warnings error in tests ([#1192](https://github.com/4DNucleome/PartSeg/pull/1192))
|
|
34
|
-
- Merge all channel-specific attributes of the Image class ([#1191](https://github.com/4DNucleome/PartSeg/pull/1191))
|
|
35
|
-
|
|
36
|
-
### 📚 Documentation
|
|
37
|
-
|
|
38
|
-
- Change homepage URL ([#1139](https://github.com/4DNucleome/PartSeg/pull/1139))
|
|
39
|
-
- Add link for download macOS arm bundle ([#1140](https://github.com/4DNucleome/PartSeg/pull/1140))
|
|
40
|
-
- Add changelog for 0.15.4 release
|
|
41
|
-
- Update changelog ([#1176](https://github.com/4DNucleome/PartSeg/pull/1176))
|
|
42
|
-
|
|
43
|
-
### 🧪 Testing
|
|
44
|
-
|
|
45
|
-
- \[Automatic\] Constraints upgrades: `napari`, `sentry-sdk`, `sympy` ([#1128](https://github.com/4DNucleome/PartSeg/pull/1128))
|
|
46
|
-
- \[Automatic\] Constraints upgrades: `mahotas`, `numpy`, `sentry-sdk`, `sympy` ([#1145](https://github.com/4DNucleome/PartSeg/pull/1145))
|
|
47
|
-
- \[Automatic\] Constraints upgrades: `numpy`, `tifffile` ([#1163](https://github.com/4DNucleome/PartSeg/pull/1163))
|
|
48
|
-
- \[Automatic\] Constraints upgrades: `napari`, `sentry-sdk`, `tifffile` ([#1169](https://github.com/4DNucleome/PartSeg/pull/1169))
|
|
49
|
-
- \[Automatic\] Constraints upgrades: `magicgui`, `sentry-sdk` ([#1172](https://github.com/4DNucleome/PartSeg/pull/1172))
|
|
50
|
-
- \[Automatic\] Constraints upgrades: `sympy`, `tifffile` ([#1177](https://github.com/4DNucleome/PartSeg/pull/1177))
|
|
51
|
-
- \[Automatic\] Constraints upgrades: `imageio`, `napari`, `numpy` ([#1180](https://github.com/4DNucleome/PartSeg/pull/1180))
|
|
52
|
-
- Constraints upgrades: `sentry-sdk` and fix tests ([#1182](https://github.com/4DNucleome/PartSeg/pull/1182))
|
|
53
|
-
- `napari==0.5.3` related fixes, Constraints upgrades: `imageio`, `ipython`, `numpy`, `qtconsole`, `scipy`, `simpleitk`, `tifffile` ([#1183](https://github.com/4DNucleome/PartSeg/pull/1183))
|
|
54
|
-
- \[Automatic\] Constraints upgrades: `numpy`, `pydantic` ([#1188](https://github.com/4DNucleome/PartSeg/pull/1188))
|
|
55
|
-
- \[Automatic\] Constraints upgrades: `imagecodecs`, `pandas`, `pydantic`, `sentry-sdk`, `sympy`, `tifffile` ([#1190](https://github.com/4DNucleome/PartSeg/pull/1190))
|
|
56
|
-
|
|
57
|
-
### ⚙️ Miscellaneous Tasks
|
|
58
|
-
|
|
59
|
-
- Speedup tests by use `tox-uv` ([#1141](https://github.com/4DNucleome/PartSeg/pull/1141))
|
|
60
|
-
- Get additional dict from PR branch for checking PR title ([#1144](https://github.com/4DNucleome/PartSeg/pull/1144))
|
|
61
|
-
- Relax numpy constraint ([#1143](https://github.com/4DNucleome/PartSeg/pull/1143))
|
|
62
|
-
- Allow to skip spellchecking PR title ([#1147](https://github.com/4DNucleome/PartSeg/pull/1147))
|
|
63
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1149](https://github.com/4DNucleome/PartSeg/pull/1149))
|
|
64
|
-
- Create only archive with version in name on azures pipeline ([#1151](https://github.com/4DNucleome/PartSeg/pull/1151))
|
|
65
|
-
- Fix tests for napari from repository ([#1148](https://github.com/4DNucleome/PartSeg/pull/1148))
|
|
66
|
-
- Use python 3.11 to determine updated packages in PR description ([#1160](https://github.com/4DNucleome/PartSeg/pull/1160))
|
|
67
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1164](https://github.com/4DNucleome/PartSeg/pull/1164))
|
|
68
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1170](https://github.com/4DNucleome/PartSeg/pull/1170))
|
|
69
|
-
- Disable thumbnail generation in napari layer as it is fragile and not used ([#1171](https://github.com/4DNucleome/PartSeg/pull/1171))
|
|
70
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1173](https://github.com/4DNucleome/PartSeg/pull/1173))
|
|
71
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1178](https://github.com/4DNucleome/PartSeg/pull/1178))
|
|
72
|
-
- Fix call of logger to properly pass arguments to messages ([#1179](https://github.com/4DNucleome/PartSeg/pull/1179))
|
|
73
|
-
- Fix coverage files upload by enable hidden files upload ([#1186](https://github.com/4DNucleome/PartSeg/pull/1186))
|
|
74
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1184](https://github.com/4DNucleome/PartSeg/pull/1184))
|
|
75
|
-
- Use PyQt6 in pre-tests ([#1196](https://github.com/4DNucleome/PartSeg/pull/1196))
|
|
76
|
-
- Add missed code from #1191 ([#1197](https://github.com/4DNucleome/PartSeg/pull/1197))
|
|
77
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1189](https://github.com/4DNucleome/PartSeg/pull/1189))
|
|
78
|
-
- Auto add "skip check PR title" label in update dependencies PR ([#1199](https://github.com/4DNucleome/PartSeg/pull/1199))
|
|
79
|
-
|
|
80
|
-
### Build
|
|
81
|
-
|
|
82
|
-
- Remove PyOpenGL-accelerate from dependencies because of numpy incompatibility ([#1155](https://github.com/4DNucleome/PartSeg/pull/1155))
|
|
83
|
-
- Update install constraints on numpy and qt packages ([#1157](https://github.com/4DNucleome/PartSeg/pull/1157))
|
|
84
|
-
- Enforce napari 0.5.0 for Qt6 bindings ([#1161](https://github.com/4DNucleome/PartSeg/pull/1161))
|
|
85
|
-
- Require napari>=0.5.0 only for python 3.9+ ([#1162](https://github.com/4DNucleome/PartSeg/pull/1162))
|
|
86
|
-
|
|
87
5
|
## 0.15.3 - 2024-07-08
|
|
88
6
|
|
|
89
7
|
### 🚀 Features
|
|
@@ -15,7 +15,7 @@ from PartSeg import state_store
|
|
|
15
15
|
IGNORE_DAYS = 21
|
|
16
16
|
IGNORE_FILE = "ignore_survey.txt"
|
|
17
17
|
|
|
18
|
-
IGNORE_FILE_PATH =
|
|
18
|
+
IGNORE_FILE_PATH = Path(state_store.save_folder) / ".." / IGNORE_FILE
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class SurveyMessageBox(QMessageBox):
|
|
@@ -45,8 +45,6 @@ class SurveyMessageBox(QMessageBox):
|
|
|
45
45
|
|
|
46
46
|
def exec_(self):
|
|
47
47
|
result = super().exec_()
|
|
48
|
-
if not IGNORE_FILE_PATH.parent.exists():
|
|
49
|
-
IGNORE_FILE_PATH.parent.mkdir(parents=True)
|
|
50
48
|
IGNORE_FILE_PATH.touch()
|
|
51
49
|
return result
|
|
52
50
|
|
|
@@ -24,7 +24,9 @@ class CheckVersionThread(QThread):
|
|
|
24
24
|
.. _PYPI: https://pypi.org/project/PartSeg/
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
|
-
def __init__(
|
|
27
|
+
def __init__(
|
|
28
|
+
self, package_name="PartSeg", default_url="https://4dnucleome.cent.uw.edu.pl/PartSeg/", base_version=__version__
|
|
29
|
+
):
|
|
28
30
|
super().__init__()
|
|
29
31
|
self.release = base_version
|
|
30
32
|
self.base_release = base_version
|
|
@@ -48,14 +50,14 @@ class CheckVersionThread(QThread):
|
|
|
48
50
|
return
|
|
49
51
|
os.remove(os.path.join(state_store.save_folder, IGNORE_FILE))
|
|
50
52
|
|
|
51
|
-
with urllib.request.urlopen(f"https://pypi.org/pypi/{self.package_name}/json") as r: # nosec
|
|
53
|
+
with urllib.request.urlopen(f"https://pypi.org/pypi/{self.package_name}/json") as r: # nosec # noqa: S310
|
|
52
54
|
data = json.load(r)
|
|
53
55
|
self.release = data["info"]["version"]
|
|
54
56
|
self.url = data["info"]["home_page"]
|
|
55
57
|
except (KeyError, urllib.error.URLError): # pragma: no cover
|
|
56
58
|
pass
|
|
57
59
|
except Exception as e: # pylint: disable=broad-except
|
|
58
|
-
with sentry_sdk.
|
|
60
|
+
with sentry_sdk.push_scope() as scope:
|
|
59
61
|
scope.set_tag("auto_report", "true")
|
|
60
62
|
scope.set_tag("check_version", "true")
|
|
61
63
|
sentry_sdk.capture_exception(e)
|
|
@@ -34,7 +34,7 @@ from PartSeg._roi_analysis.measurement_widget import MeasurementWidget
|
|
|
34
34
|
from PartSeg._roi_analysis.partseg_settings import PartSettings
|
|
35
35
|
from PartSeg._roi_analysis.profile_export import ExportDialog, ImportDialog, ProfileDictViewer, StringViewer
|
|
36
36
|
from PartSeg.common_backend.base_settings import IO_SAVE_DIRECTORY
|
|
37
|
-
from PartSeg.common_gui.advanced_tabs import AdvancedWindow
|
|
37
|
+
from PartSeg.common_gui.advanced_tabs import AdvancedWindow
|
|
38
38
|
from PartSeg.common_gui.custom_load_dialog import PLoadDialog
|
|
39
39
|
from PartSeg.common_gui.custom_save_dialog import FormDialog, PSaveDialog
|
|
40
40
|
from PartSeg.common_gui.error_report import DataImportErrorDialog
|
|
@@ -533,9 +533,7 @@ class MeasurementSettings(QWidget):
|
|
|
533
533
|
self.profile_description.setText("")
|
|
534
534
|
return
|
|
535
535
|
item = self.profile_list.currentItem()
|
|
536
|
-
if item is None
|
|
537
|
-
# item.text() is not in self.settings.measurement_profiles just after delete
|
|
538
|
-
# when list content is not updated
|
|
536
|
+
if item is None:
|
|
539
537
|
self.profile_description.setText("")
|
|
540
538
|
return
|
|
541
539
|
profile = self.settings.measurement_profiles[item.text()]
|
|
@@ -807,7 +805,7 @@ class MeasurementSettings(QWidget):
|
|
|
807
805
|
if err:
|
|
808
806
|
QMessageBox.warning(self, "Import error", "error during importing, part of data were filtered.")
|
|
809
807
|
measurement_dict = self.settings.measurement_profiles
|
|
810
|
-
imp = ImportDialog(stat, measurement_dict, StringViewer, MeasurementProfile
|
|
808
|
+
imp = ImportDialog(stat, measurement_dict, StringViewer, MeasurementProfile)
|
|
811
809
|
if not imp.exec_():
|
|
812
810
|
return
|
|
813
811
|
for original_name, final_name in imp.get_import_list():
|
|
@@ -826,11 +824,9 @@ class SegAdvancedWindow(AdvancedWindow):
|
|
|
826
824
|
|
|
827
825
|
self.setWindowTitle("Settings and Measurement")
|
|
828
826
|
self.advanced_settings = Properties(settings)
|
|
829
|
-
self.image_metadata = ImageMetadata(settings)
|
|
830
827
|
self.measurement = MeasurementWidget(settings)
|
|
831
828
|
self.measurement_settings = MeasurementSettings(settings)
|
|
832
829
|
self.insertTab(0, self.advanced_settings, "Properties")
|
|
833
|
-
self.insertTab(1, self.image_metadata, "Image metadata")
|
|
834
830
|
self.addTab(self.measurement_settings, "Measurements settings")
|
|
835
831
|
self.addTab(self.measurement, "Measurements")
|
|
836
832
|
self.setCurrentWidget(self.advanced_settings)
|
|
@@ -392,7 +392,7 @@ def sleep_with_rate(response: requests.Response):
|
|
|
392
392
|
reset = int(response.headers["X-RateLimit-Reset"])
|
|
393
393
|
sleep_time = reset - time.time()
|
|
394
394
|
if sleep_time > 0:
|
|
395
|
-
logging.info("Sleeping for
|
|
395
|
+
logging.info("Sleeping for {sleep_time} seconds", extra={"sleep_time": sleep_time})
|
|
396
396
|
time.sleep(sleep_time)
|
|
397
397
|
|
|
398
398
|
|
|
@@ -367,11 +367,11 @@ class MeasurementWidget(MeasurementWidgetBase):
|
|
|
367
367
|
units = self.units_choose.currentEnum()
|
|
368
368
|
|
|
369
369
|
for num in compute_class.get_channels_num():
|
|
370
|
-
if
|
|
370
|
+
if num >= self.settings.image.channels:
|
|
371
371
|
QMessageBox.warning(
|
|
372
372
|
self,
|
|
373
373
|
"Measurement error",
|
|
374
|
-
f"Cannot calculate this measurement because image do not have channel {num}",
|
|
374
|
+
f"Cannot calculate this measurement because image do not have channel {num+1}",
|
|
375
375
|
)
|
|
376
376
|
return
|
|
377
377
|
|
|
@@ -106,11 +106,7 @@ class PartSettings(BaseSettings):
|
|
|
106
106
|
return
|
|
107
107
|
if not isinstance(data, ProjectTuple):
|
|
108
108
|
return
|
|
109
|
-
if
|
|
110
|
-
self.image.file_path == data.image.file_path
|
|
111
|
-
and self.image.shape == data.image.shape
|
|
112
|
-
and self.image.channels == data.image.channels
|
|
113
|
-
):
|
|
109
|
+
if self.image.file_path == data.image.file_path and self.image.shape == data.image.shape:
|
|
114
110
|
if data.roi_info.roi is not None:
|
|
115
111
|
try:
|
|
116
112
|
self.image.fit_array_to_image(data.roi_info.roi)
|
|
@@ -34,7 +34,7 @@ from PartSeg._roi_mask.segmentation_info_dialog import SegmentationInfoDialog
|
|
|
34
34
|
from PartSeg._roi_mask.simple_measurements import SimpleMeasurements
|
|
35
35
|
from PartSeg._roi_mask.stack_settings import StackSettings, get_mask
|
|
36
36
|
from PartSeg.common_backend.base_settings import IO_SAVE_DIRECTORY, ROI_NOT_FIT
|
|
37
|
-
from PartSeg.common_gui.advanced_tabs import AdvancedWindow
|
|
37
|
+
from PartSeg.common_gui.advanced_tabs import AdvancedWindow
|
|
38
38
|
from PartSeg.common_gui.algorithms_description import AlgorithmChoose, InteractiveAlgorithmSettingsWidget
|
|
39
39
|
from PartSeg.common_gui.channel_control import ChannelProperty
|
|
40
40
|
from PartSeg.common_gui.custom_load_dialog import PLoadDialog
|
|
@@ -869,16 +869,14 @@ class Options(QTabWidget):
|
|
|
869
869
|
self._settings = settings
|
|
870
870
|
self.algorithm_options = AlgorithmOptions(settings, image_view)
|
|
871
871
|
self.image_properties = ImageInformation(settings)
|
|
872
|
-
self.image_metadata = ImageMetadata(settings)
|
|
873
872
|
self.image_properties.add_files.file_list_changed.connect(self.algorithm_options.file_list_change)
|
|
874
873
|
self.algorithm_options.batch_process.multiple_result.connect(
|
|
875
874
|
partial(self.image_properties.multiple_files.setChecked, True)
|
|
876
875
|
)
|
|
877
876
|
self.addTab(self.image_properties, "Image")
|
|
878
|
-
self.addTab(self.image_metadata, "Image metadata")
|
|
879
877
|
self.addTab(self.algorithm_options, "Segmentation")
|
|
880
878
|
self.setMinimumWidth(370)
|
|
881
|
-
self.setCurrentIndex(
|
|
879
|
+
self.setCurrentIndex(1)
|
|
882
880
|
|
|
883
881
|
def get_chosen_components(self):
|
|
884
882
|
return self.algorithm_options.get_chosen_components()
|
|
@@ -3,88 +3,6 @@ changelog = """
|
|
|
3
3
|
|
|
4
4
|
All notable changes to this project will be documented in this file.
|
|
5
5
|
|
|
6
|
-
## 0.15.4 - 2024-09-27
|
|
7
|
-
|
|
8
|
-
### 🚀 Features
|
|
9
|
-
|
|
10
|
-
- Add preview of image metadata ([#1154](https://github.com/4DNucleome/PartSeg/pull/1154))
|
|
11
|
-
- Add option to combine channels using sum and max ([#1159](https://github.com/4DNucleome/PartSeg/pull/1159))
|
|
12
|
-
- Add metadata viewer as napari widget ([#1195](https://github.com/4DNucleome/PartSeg/pull/1195))
|
|
13
|
-
- Read channel colors from `*.czi` metadata ([#1198](https://github.com/4DNucleome/PartSeg/pull/1198))
|
|
14
|
-
- Use image color when add layer to napari ([#1200](https://github.com/4DNucleome/PartSeg/pull/1200))
|
|
15
|
-
|
|
16
|
-
### 🐛 Bug Fixes
|
|
17
|
-
|
|
18
|
-
- Fix selection of custom label colors for napari 0.5.0 ([#1138](https://github.com/4DNucleome/PartSeg/pull/1138))
|
|
19
|
-
- Add pint call to enforce initialization of unit registry ([#1146](https://github.com/4DNucleome/PartSeg/pull/1146))
|
|
20
|
-
- Workaround for lack of zsd support in czifile ([#1142](https://github.com/4DNucleome/PartSeg/pull/1142))
|
|
21
|
-
- Fix preparing data for `mahotas.haralick` to avoid overflow problem ([#1150](https://github.com/4DNucleome/PartSeg/pull/1150))
|
|
22
|
-
- Fix `use_convex` type from `int` to `bool` for segmentation algorithms ([#1152](https://github.com/4DNucleome/PartSeg/pull/1152))
|
|
23
|
-
- Prevent propagation of decreasing contrast limits set by user ([#1166](https://github.com/4DNucleome/PartSeg/pull/1166))
|
|
24
|
-
- Prevent error on searching component if there is no component ([#1167](https://github.com/4DNucleome/PartSeg/pull/1167))
|
|
25
|
-
- Fix checking if channel requested by MeasurementProfile exists ([#1165](https://github.com/4DNucleome/PartSeg/pull/1165))
|
|
26
|
-
- Fix trying to access to just deleted measurement profile from edit window. ([#1168](https://github.com/4DNucleome/PartSeg/pull/1168))
|
|
27
|
-
- Fix bug in code for checking for survey file ([#1174](https://github.com/4DNucleome/PartSeg/pull/1174))
|
|
28
|
-
- Fix plugin discovery in bundle to register them in napari viewer ([#1175](https://github.com/4DNucleome/PartSeg/pull/1175))
|
|
29
|
-
- Fix problem with setting range of auto-generated widget ([#1187](https://github.com/4DNucleome/PartSeg/pull/1187))
|
|
30
|
-
- Fix reading channel names from single channel czi files ([#1194](https://github.com/4DNucleome/PartSeg/pull/1194))
|
|
31
|
-
|
|
32
|
-
### 🚜 Refactor
|
|
33
|
-
|
|
34
|
-
- Make warnings error in tests ([#1192](https://github.com/4DNucleome/PartSeg/pull/1192))
|
|
35
|
-
- Merge all channel-specific attributes of the Image class ([#1191](https://github.com/4DNucleome/PartSeg/pull/1191))
|
|
36
|
-
|
|
37
|
-
### 📚 Documentation
|
|
38
|
-
|
|
39
|
-
- Change homepage URL ([#1139](https://github.com/4DNucleome/PartSeg/pull/1139))
|
|
40
|
-
- Add link for download macOS arm bundle ([#1140](https://github.com/4DNucleome/PartSeg/pull/1140))
|
|
41
|
-
- Add changelog for 0.15.4 release
|
|
42
|
-
- Update changelog ([#1176](https://github.com/4DNucleome/PartSeg/pull/1176))
|
|
43
|
-
|
|
44
|
-
### 🧪 Testing
|
|
45
|
-
|
|
46
|
-
- \[Automatic\] Constraints upgrades: `napari`, `sentry-sdk`, `sympy` ([#1128](https://github.com/4DNucleome/PartSeg/pull/1128))
|
|
47
|
-
- \[Automatic\] Constraints upgrades: `mahotas`, `numpy`, `sentry-sdk`, `sympy` ([#1145](https://github.com/4DNucleome/PartSeg/pull/1145))
|
|
48
|
-
- \[Automatic\] Constraints upgrades: `numpy`, `tifffile` ([#1163](https://github.com/4DNucleome/PartSeg/pull/1163))
|
|
49
|
-
- \[Automatic\] Constraints upgrades: `napari`, `sentry-sdk`, `tifffile` ([#1169](https://github.com/4DNucleome/PartSeg/pull/1169))
|
|
50
|
-
- \[Automatic\] Constraints upgrades: `magicgui`, `sentry-sdk` ([#1172](https://github.com/4DNucleome/PartSeg/pull/1172))
|
|
51
|
-
- \[Automatic\] Constraints upgrades: `sympy`, `tifffile` ([#1177](https://github.com/4DNucleome/PartSeg/pull/1177))
|
|
52
|
-
- \[Automatic\] Constraints upgrades: `imageio`, `napari`, `numpy` ([#1180](https://github.com/4DNucleome/PartSeg/pull/1180))
|
|
53
|
-
- Constraints upgrades: `sentry-sdk` and fix tests ([#1182](https://github.com/4DNucleome/PartSeg/pull/1182))
|
|
54
|
-
- `napari==0.5.3` related fixes, Constraints upgrades: `imageio`, `ipython`, `numpy`, `qtconsole`, `scipy`, `simpleitk`, `tifffile` ([#1183](https://github.com/4DNucleome/PartSeg/pull/1183))
|
|
55
|
-
- \[Automatic\] Constraints upgrades: `numpy`, `pydantic` ([#1188](https://github.com/4DNucleome/PartSeg/pull/1188))
|
|
56
|
-
- \[Automatic\] Constraints upgrades: `imagecodecs`, `pandas`, `pydantic`, `sentry-sdk`, `sympy`, `tifffile` ([#1190](https://github.com/4DNucleome/PartSeg/pull/1190))
|
|
57
|
-
|
|
58
|
-
### ⚙️ Miscellaneous Tasks
|
|
59
|
-
|
|
60
|
-
- Speedup tests by use `tox-uv` ([#1141](https://github.com/4DNucleome/PartSeg/pull/1141))
|
|
61
|
-
- Get additional dict from PR branch for checking PR title ([#1144](https://github.com/4DNucleome/PartSeg/pull/1144))
|
|
62
|
-
- Relax numpy constraint ([#1143](https://github.com/4DNucleome/PartSeg/pull/1143))
|
|
63
|
-
- Allow to skip spellchecking PR title ([#1147](https://github.com/4DNucleome/PartSeg/pull/1147))
|
|
64
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1149](https://github.com/4DNucleome/PartSeg/pull/1149))
|
|
65
|
-
- Create only archive with version in name on azures pipeline ([#1151](https://github.com/4DNucleome/PartSeg/pull/1151))
|
|
66
|
-
- Fix tests for napari from repository ([#1148](https://github.com/4DNucleome/PartSeg/pull/1148))
|
|
67
|
-
- Use python 3.11 to determine updated packages in PR description ([#1160](https://github.com/4DNucleome/PartSeg/pull/1160))
|
|
68
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1164](https://github.com/4DNucleome/PartSeg/pull/1164))
|
|
69
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1170](https://github.com/4DNucleome/PartSeg/pull/1170))
|
|
70
|
-
- Disable thumbnail generation in napari layer as it is fragile and not used ([#1171](https://github.com/4DNucleome/PartSeg/pull/1171))
|
|
71
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1173](https://github.com/4DNucleome/PartSeg/pull/1173))
|
|
72
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1178](https://github.com/4DNucleome/PartSeg/pull/1178))
|
|
73
|
-
- Fix call of logger to properly pass arguments to messages ([#1179](https://github.com/4DNucleome/PartSeg/pull/1179))
|
|
74
|
-
- Fix coverage files upload by enable hidden files upload ([#1186](https://github.com/4DNucleome/PartSeg/pull/1186))
|
|
75
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1184](https://github.com/4DNucleome/PartSeg/pull/1184))
|
|
76
|
-
- Use PyQt6 in pre-tests ([#1196](https://github.com/4DNucleome/PartSeg/pull/1196))
|
|
77
|
-
- Add missed code from #1191 ([#1197](https://github.com/4DNucleome/PartSeg/pull/1197))
|
|
78
|
-
- \[pre-commit.ci\] pre-commit autoupdate ([#1189](https://github.com/4DNucleome/PartSeg/pull/1189))
|
|
79
|
-
- Auto add "skip check PR title" label in update dependencies PR ([#1199](https://github.com/4DNucleome/PartSeg/pull/1199))
|
|
80
|
-
|
|
81
|
-
### Build
|
|
82
|
-
|
|
83
|
-
- Remove PyOpenGL-accelerate from dependencies because of numpy incompatibility ([#1155](https://github.com/4DNucleome/PartSeg/pull/1155))
|
|
84
|
-
- Update install constraints on numpy and qt packages ([#1157](https://github.com/4DNucleome/PartSeg/pull/1157))
|
|
85
|
-
- Enforce napari 0.5.0 for Qt6 bindings ([#1161](https://github.com/4DNucleome/PartSeg/pull/1161))
|
|
86
|
-
- Require napari>=0.5.0 only for python 3.9+ ([#1162](https://github.com/4DNucleome/PartSeg/pull/1162))
|
|
87
|
-
|
|
88
6
|
## 0.15.3 - 2024-07-08
|
|
89
7
|
|
|
90
8
|
### 🚀 Features
|
|
@@ -24,7 +24,7 @@ def my_excepthook(type_, value, trace_back):
|
|
|
24
24
|
# log the exception here
|
|
25
25
|
if state_store.show_error_dialog and not isinstance(value, KeyboardInterrupt):
|
|
26
26
|
if state_store.auto_report or state_store.always_report:
|
|
27
|
-
with sentry_sdk.
|
|
27
|
+
with sentry_sdk.push_scope() as scope:
|
|
28
28
|
scope.set_tag("auto_report", "true")
|
|
29
29
|
scope.set_tag("main_thread", QCoreApplication.instance().thread() == QThread.currentThread())
|
|
30
30
|
sentry_sdk.capture_exception(value)
|
|
@@ -48,9 +48,7 @@ class SegmentationThread(QThread):
|
|
|
48
48
|
"""the calculation are done here"""
|
|
49
49
|
if self.algorithm.image is None:
|
|
50
50
|
# assertion for running algorithm without image
|
|
51
|
-
logging.error(
|
|
52
|
-
"No image in class %(cls_name)", extra={"cls_name": self.algorithm.__class__}, stack_info=True
|
|
53
|
-
)
|
|
51
|
+
logging.error("No image in class {cls_name}", extra={"cls_name": self.algorithm.__class__})
|
|
54
52
|
return
|
|
55
53
|
try:
|
|
56
54
|
segment_data = self.algorithm.calculation_run_wrap(self.send_info)
|
|
@@ -25,10 +25,8 @@ from qtpy.QtWidgets import (
|
|
|
25
25
|
)
|
|
26
26
|
|
|
27
27
|
from PartSeg import plugins, state_store
|
|
28
|
-
from PartSeg._roi_analysis.partseg_settings import PartSettings
|
|
29
28
|
from PartSeg.common_backend.base_settings import BaseSettings, ViewSettings
|
|
30
29
|
from PartSeg.common_gui.colormap_creator import PColormapCreator, PColormapList
|
|
31
|
-
from PartSeg.common_gui.dict_viewer import DictViewer
|
|
32
30
|
from PartSeg.common_gui.label_create import ColorShow, LabelChoose, LabelEditor
|
|
33
31
|
from PartSeg.common_gui.universal_gui_part import CustomDoubleSpinBox
|
|
34
32
|
from PartSegCore import plugins as core_plugins
|
|
@@ -67,7 +65,7 @@ class DevelopTab(QWidget):
|
|
|
67
65
|
|
|
68
66
|
def reload_algorithm_action(self):
|
|
69
67
|
"""Function for reload plugins and algorithms"""
|
|
70
|
-
msg = "Reloading
|
|
68
|
+
msg = "Reloading {mod_name}"
|
|
71
69
|
for val in register.reload_module_list:
|
|
72
70
|
logging.info(msg, extra={"mod_name": val.__name__})
|
|
73
71
|
importlib.reload(val)
|
|
@@ -259,24 +257,3 @@ class AdvancedWindow(QTabWidget):
|
|
|
259
257
|
if self.window() == self:
|
|
260
258
|
self.settings.set_in_profile("advanced_window_geometry", self.saveGeometry().toHex().data().decode("ascii"))
|
|
261
259
|
super().closeEvent(event)
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
class ImageMetadata(QWidget):
|
|
265
|
-
def __init__(self, settings: PartSettings, parent=None):
|
|
266
|
-
super().__init__(parent)
|
|
267
|
-
self.settings = settings
|
|
268
|
-
self._dict_viewer = DictViewer(self.settings.image.metadata if self.settings.image else None)
|
|
269
|
-
self.channel_info = QLabel()
|
|
270
|
-
layout = QVBoxLayout()
|
|
271
|
-
layout.addWidget(self._dict_viewer)
|
|
272
|
-
layout.addWidget(self.channel_info)
|
|
273
|
-
self.setLayout(layout)
|
|
274
|
-
self.settings.image_changed.connect(self.update_metadata)
|
|
275
|
-
|
|
276
|
-
def update_metadata(self):
|
|
277
|
-
self._dict_viewer.set_data(self.settings.image.metadata)
|
|
278
|
-
text = ", ".join(
|
|
279
|
-
f"{name}: {color}"
|
|
280
|
-
for name, color in zip(self.settings.image.channel_names, self.settings.image.get_colors())
|
|
281
|
-
)
|
|
282
|
-
self.channel_info.setText(f"Channels with colors: {text}")
|
|
@@ -599,12 +599,7 @@ class SubAlgorithmWidget(QWidget):
|
|
|
599
599
|
|
|
600
600
|
def paintEvent(self, event: QPaintEvent):
|
|
601
601
|
name = self.choose.currentText()
|
|
602
|
-
if (
|
|
603
|
-
name in self.widgets_dict
|
|
604
|
-
and self.widgets_dict[name].has_elements()
|
|
605
|
-
and event.rect().top() == 0
|
|
606
|
-
and event.rect().left() == 0
|
|
607
|
-
):
|
|
602
|
+
if self.widgets_dict[name].has_elements() and event.rect().top() == 0 and event.rect().left() == 0:
|
|
608
603
|
painter = QPainter(self)
|
|
609
604
|
painter.drawRect(self.rect() - QMargins(1, -1, 1, 1))
|
|
610
605
|
|
|
@@ -632,7 +632,8 @@ class ColorComboBoxGroup(QWidget):
|
|
|
632
632
|
if self.settings.get_from_profile(f"{self.viewer_name}.lock_{i}", False)
|
|
633
633
|
else None
|
|
634
634
|
)
|
|
635
|
-
|
|
635
|
+
|
|
636
|
+
return resp
|
|
636
637
|
|
|
637
638
|
def get_gamma(self) -> typing.List[float]:
|
|
638
639
|
return [
|
|
@@ -649,10 +650,7 @@ class ColorComboBoxGroup(QWidget):
|
|
|
649
650
|
self.settings.get_from_profile(f"{self.viewer_name}.use_filter_{channel}", NoiseFilterType.No)
|
|
650
651
|
!= NoiseFilterType.No
|
|
651
652
|
)
|
|
652
|
-
|
|
653
|
-
lock = self.settings.get_from_profile(f"{self.viewer_name}.lock_{channel}", False)
|
|
654
|
-
|
|
655
|
-
widget.set_lock(lock and range_[0] < range_[1])
|
|
653
|
+
widget.set_lock(self.settings.get_from_profile(f"{self.viewer_name}.lock_{channel}", False))
|
|
656
654
|
widget.set_gamma(self.settings.get_from_profile(f"{self.viewer_name}.gamma_value_{channel}", 1) != 1)
|
|
657
655
|
if self.active_channel(channel):
|
|
658
656
|
self.coloring_update.emit()
|