PartSeg 0.15.4b7__tar.gz → 0.16.0a1__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.4b7 → partseg-0.16.0a1}/PKG-INFO +72 -25
- {partseg-0.15.4b7 → partseg-0.16.0a1}/changelog.md +50 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_launcher/check_version.py +3 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_launcher/main_window.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/advanced_window.py +4 -4
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/batch_window.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/export_batch.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/main_window.py +1 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/measurement_widget.py +4 -5
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/partseg_settings.py +8 -8
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/prepare_plan_widget.py +5 -7
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/profile_export.py +4 -4
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_mask/batch_proceed.py +3 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_mask/main_window.py +1 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_mask/segmentation_info_dialog.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_mask/stack_settings.py +9 -9
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/changelog.py +50 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/base_argparser.py +2 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/base_settings.py +15 -14
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/partially_const_dict.py +4 -4
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/python_syntax_highlight.py +1 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/segmentation_thread.py +7 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/advanced_tabs.py +9 -9
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/algorithms_description.py +13 -17
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/channel_control.py +13 -13
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/colormap_creator.py +13 -12
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/custom_load_dialog.py +12 -7
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/custom_save_dialog.py +3 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/equal_column_layout.py +1 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/error_report.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/image_adjustment.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/label_create.py +7 -6
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/main_window.py +5 -5
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/mask_widget.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/multiple_file_widget.py +4 -5
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/napari_image_view.py +18 -17
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/napari_viewer_wrap.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/numpy_qimage.py +1 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/select_multiple_files.py +1 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/stack_image_view.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/universal_gui_part.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/modeling_save/save_modeling_data.py +1 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/algorithm_widgets.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/colormap_control.py +3 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/lables_control.py +5 -5
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/roi_extraction_algorithms.py +7 -7
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/utils.py +1 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/old_partseg/old_partseg.py +1 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/version.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg.egg-info/PKG-INFO +72 -25
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg.egg-info/SOURCES.txt +1 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg.egg-info/requires.txt +14 -18
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/algorithm_describe_base.py +19 -22
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/analysis_utils.py +1 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/batch_processing/batch_backend.py +4 -4
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/batch_processing/parallel_backend.py +6 -6
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/calculate_pipeline.py +3 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/calculation_plan.py +6 -6
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/io_utils.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/load_functions.py +12 -12
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/measurement_base.py +15 -17
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/measurement_calculation.py +21 -28
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/save_functions.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/class_generator.py +1 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/custom_name_generate.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/image_operations.py +3 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/image_transforming/combine_channels.py +3 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/image_transforming/image_projection.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/image_transforming/interpolate_image.py +3 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/image_transforming/swap_time_stack.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/image_transforming/transform_base.py +3 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/io_utils.py +15 -15
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/mask/io_functions.py +20 -20
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/mask_create.py +6 -6
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/napari_plugins/loader.py +3 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/napari_plugins/save_tiff_layer.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/project_info.py +7 -7
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/register.py +1 -4
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/roi_info.py +5 -5
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/algorithm_base.py +6 -5
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/restartable_segmentation_algorithms.py +3 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/sphinx/auto_parameters.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/utils.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegImage/channel_class.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegImage/image.py +21 -18
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegImage/image_reader.py +14 -13
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegImage/image_writer.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/conftest.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_channel_control.py +60 -40
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_common_backend.py +1 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_common_gui.py +84 -62
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/segmentation/test_segmentation_algorithm.py +1 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_algorithm_describe_base.py +6 -6
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_class_generator.py +6 -6
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_class_register.py +2 -2
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_io.py +2 -3
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_segmentation.py +8 -8
- {partseg-0.15.4b7 → partseg-0.16.0a1}/pyproject.toml +19 -20
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/constraints_py3.10.txt +34 -33
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/constraints_py3.10_pydantic_1.txt +34 -33
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/constraints_py3.11.txt +32 -32
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/constraints_py3.11_pydantic_1.txt +32 -32
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/constraints_py3.12.txt +36 -36
- partseg-0.15.4b7/requirements/constraints_py3.11_docs.txt → partseg-0.16.0a1/requirements/constraints_py3.12_docs.txt +30 -35
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/constraints_py3.12_pydantic_1.txt +36 -36
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/constraints_py3.9.txt +29 -28
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/constraints_py3.9_pydantic_1.txt +29 -28
- partseg-0.16.0a1/requirements/pre_test_problematic_version.txt +2 -0
- partseg-0.15.4b7/requirements/constraints_py3.8.txt +0 -531
- partseg-0.15.4b7/requirements/constraints_py3.8_pydantic_1.txt +0 -526
- partseg-0.15.4b7/requirements/pre_test_problematic_version.txt +0 -1
- {partseg-0.15.4b7 → partseg-0.16.0a1}/.napari/DESCRIPTION.md +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/.napari/config.yml +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/CITATION.cff +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/License.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/MANIFEST.in +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/Readme.md +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/__main__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_launcher/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_launcher/check_survey.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/calculation_pipeline_thread.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_analysis/image_view.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_mask/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_mask/image_view.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/_roi_mask/simple_measurements.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/abstract_class.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/except_hook.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/load_backup.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_backend/progress_thread.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/about_dialog.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/collapse_checkbox.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/custom_buttons.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/dict_viewer.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/exception_hooks.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/flow_layout.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/icon_selector.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/lock_checkbox.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/qt_console.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/qt_modal.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/qt_util.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/searchable_combo_box.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/searchable_list_widget.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/show_directory_dialog.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/stacked_widget_with_selector.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/common_gui/waiting_dialog.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/launcher_main.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/napari.yaml +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/itk_snap_save/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/modeling_save/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/_settings.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/copy_labels.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/mask_create_widget.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/measurement_widget.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/metadata_viewer.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/search_label_widget.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/napari_widgets/simple_measurement_widget.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/plugins/old_partseg/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg/state_store.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg.egg-info/dependency_links.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg.egg-info/entry_points.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSeg.egg-info/top_level.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/_old_json_hooks.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/algorithm_description.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/analysis/batch_processing/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/autofit.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/channel_class.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/color_image/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/color_image/base_colors.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/color_image/color_data.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/convex_fill.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/image_transforming/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/json_hooks.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/mask/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/mask/algorithm_description.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/mask/history_utils.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/mask_partition_utils.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/napari_plugins/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/napari_plugins/load_image.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/napari_plugins/load_mask_project.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/napari_plugins/load_masked_image.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/napari_plugins/load_roi_project.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/napari_plugins/save_mask_roi.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/plugins/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/border_smoothing.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/mu_mid_point.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/noise_filtering.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/segmentation_algorithm.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/threshold.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/utils.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/segmentation/watershed.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/sphinx/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegCore/universal_const.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegImage/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/PartSegImage/tifffile_fixes.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/conftest.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_analysis/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_analysis/test_advanced_window.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_analysis/test_batch.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_analysis/test_batch_window.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_analysis/test_export_batch.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_analysis/test_image_view.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_analysis/test_main_window.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_analysis/test_profile_export.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_mask/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_mask/test_batch.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/roi_mask/test_main_window.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_analysis.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_base.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_base_widgets.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_check_release.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_check_survey.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_colormap_create.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_io.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_label_choose.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_launcher.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_main_windows.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_napari_image_view.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_napari_widgets.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_roi_analysis_batch.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_sentry.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_settings.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_viewer.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSeg/test_window_import.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/segmentation/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/segmentation/test_algorithm_base.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/segmentation/test_threshold.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_analysis_batch.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_base.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_image_adjustment.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_json_hooks.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_mask_create.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_mask_partition.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_measurements.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_min_req.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_mso.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_napari_plugins.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_pipeline.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_segmentation_proceses.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_smooth.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegCore/test_utils.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegImage/__init__.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegImage/test_channel_class.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegImage/test_image.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegImage/test_image_reader.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_PartSegImage/test_image_writer.py +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/calculation_plan_0.9.2.3.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/measurements_profile.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/napari_measurements_profile.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/notebook/neuron_types_measurment.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/notebook/neuron_types_segmentation.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/notebook/segment_data.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.10.4/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.10.4/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.10.4/analysis/view_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.1/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.1/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.1/analysis/view_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.1/mask/segmentation_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.1/mask/view_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.14/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.14/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.14/analysis/view_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.14/mask/segmentation_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.14/mask/view_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.15/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.15/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.15/analysis/view_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.15/mask/segmentation_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.13.15/mask/view_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.8.6/analysis/batch_plans_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_pipeline_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.8.6/analysis/statistic_profiles_save.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/old_saves/0.8.6/analysis/view_settings.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/ome.xsd.xml +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/problematic_excel_batch.xlsx +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/problematic_json_batch.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/problematic_profile_dict.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/range_profile.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/sample_batch_output.xlsx +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/segment_profile_0.9.2.3.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/view_settings_v0.12.6.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/package/tests/test_data/workflow.json +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/dependabot_runtime.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/pydantic_1.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/requirements_ci.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/requirements_dev.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/requirements_test.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/requirements/version_denylist.txt +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/setup.cfg +0 -0
- {partseg-0.15.4b7 → partseg-0.16.0a1}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PartSeg
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.16.0a1
|
|
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
|
|
@@ -19,7 +19,6 @@ Classifier: License :: OSI Approved :: BSD License
|
|
|
19
19
|
Classifier: Operating System :: OS Independent
|
|
20
20
|
Classifier: Programming Language :: Python :: 3
|
|
21
21
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -28,7 +27,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
28
27
|
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
29
28
|
Classifier: Topic :: Scientific/Engineering :: Image Processing
|
|
30
29
|
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
31
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.9
|
|
32
31
|
Description-Content-Type: text/markdown
|
|
33
32
|
License-File: License.txt
|
|
34
33
|
Requires-Dist: IPython>=7.7.0
|
|
@@ -36,39 +35,39 @@ Requires-Dist: PartSegCore-compiled-backend<0.16.0,>=0.13.11
|
|
|
36
35
|
Requires-Dist: PartSegData==0.10.0
|
|
37
36
|
Requires-Dist: QtAwesome!=1.2.0,>=1.0.3
|
|
38
37
|
Requires-Dist: QtPy>=1.10.0
|
|
39
|
-
Requires-Dist: SimpleITK>=2.
|
|
38
|
+
Requires-Dist: SimpleITK>=2.1.0
|
|
40
39
|
Requires-Dist: appdirs>=1.4.4
|
|
41
40
|
Requires-Dist: czifile>=2019.5.22
|
|
42
41
|
Requires-Dist: defusedxml>=0.6.0
|
|
43
42
|
Requires-Dist: fonticon-fontawesome6>=6.1.1
|
|
44
43
|
Requires-Dist: h5py>=3.3.0
|
|
45
44
|
Requires-Dist: imagecodecs>=2020.5.30
|
|
46
|
-
Requires-Dist: imageio>=2.
|
|
45
|
+
Requires-Dist: imageio>=2.20.0
|
|
47
46
|
Requires-Dist: ipykernel>=5.2.0
|
|
48
47
|
Requires-Dist: local-migrator>=0.1.7
|
|
49
48
|
Requires-Dist: magicgui!=0.5.0,>=0.4.0
|
|
50
|
-
Requires-Dist: mahotas>=1.4.
|
|
51
|
-
Requires-Dist: napari>=0.4.
|
|
49
|
+
Requires-Dist: mahotas>=1.4.12
|
|
50
|
+
Requires-Dist: napari>=0.4.19
|
|
52
51
|
Requires-Dist: nme>=0.1.7
|
|
53
|
-
Requires-Dist: numpy>=1.
|
|
54
|
-
Requires-Dist: numpy<2,>=1.
|
|
52
|
+
Requires-Dist: numpy>=1.22.2; python_version >= "3.10"
|
|
53
|
+
Requires-Dist: numpy<2,>=1.22.2; python_version < "3.10"
|
|
55
54
|
Requires-Dist: oiffile>=2020.1.18
|
|
56
|
-
Requires-Dist: openpyxl>=
|
|
57
|
-
Requires-Dist: packaging>=
|
|
58
|
-
Requires-Dist: pandas>=1.
|
|
59
|
-
Requires-Dist: psygnal>=0.3.
|
|
55
|
+
Requires-Dist: openpyxl>=3.0.7
|
|
56
|
+
Requires-Dist: packaging>=22.0
|
|
57
|
+
Requires-Dist: pandas>=1.3.0
|
|
58
|
+
Requires-Dist: psygnal>=0.3.4
|
|
60
59
|
Requires-Dist: pydantic<3,>=1.9.1
|
|
61
60
|
Requires-Dist: pygments>=2.12.0
|
|
62
61
|
Requires-Dist: qtconsole>=4.7.7
|
|
63
62
|
Requires-Dist: requests>=2.25.0
|
|
64
|
-
Requires-Dist: scipy>=1.4
|
|
63
|
+
Requires-Dist: scipy>=1.5.4
|
|
65
64
|
Requires-Dist: sentry-sdk>=2.4.0
|
|
66
65
|
Requires-Dist: six>=1.11.0
|
|
67
|
-
Requires-Dist: superqt>=0.
|
|
68
|
-
Requires-Dist: sympy>=1.
|
|
66
|
+
Requires-Dist: superqt>=0.4.1
|
|
67
|
+
Requires-Dist: sympy>=1.10
|
|
69
68
|
Requires-Dist: tifffile>=2020.9.30
|
|
70
69
|
Requires-Dist: traceback-with-variables>=2.0.4
|
|
71
|
-
Requires-Dist: vispy>=0.
|
|
70
|
+
Requires-Dist: vispy>=0.14.1
|
|
72
71
|
Requires-Dist: xlrd>=1.1.0
|
|
73
72
|
Requires-Dist: xlsxwriter>=2.0.0
|
|
74
73
|
Provides-Extra: accelerate
|
|
@@ -92,7 +91,7 @@ Requires-Dist: PyQt5!=5.15.0,>=5.12.3; extra == "pyqt5"
|
|
|
92
91
|
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;
|
|
94
|
+
Requires-Dist: napari[pyqt6]>=0.5.0; extra == "pyqt6"
|
|
96
95
|
Provides-Extra: pyside
|
|
97
96
|
Requires-Dist: PartSeg[pyside2]; extra == "pyside"
|
|
98
97
|
Provides-Extra: pyside2
|
|
@@ -100,7 +99,7 @@ Requires-Dist: PySide2!=5.15.0,>=5.12.3; extra == "pyside2"
|
|
|
100
99
|
Requires-Dist: napari[pyside]; extra == "pyside2"
|
|
101
100
|
Provides-Extra: pyside6
|
|
102
101
|
Requires-Dist: PySide6; extra == "pyside6"
|
|
103
|
-
Requires-Dist: napari[pyside6_experimental]>=0.5.0;
|
|
102
|
+
Requires-Dist: napari[pyside6_experimental]>=0.5.0; extra == "pyside6"
|
|
104
103
|
Provides-Extra: test
|
|
105
104
|
Requires-Dist: coverage; extra == "test"
|
|
106
105
|
Requires-Dist: lxml[html_clean]; extra == "test"
|
|
@@ -149,10 +148,10 @@ This application is designed to help biologist with segmentation based on thresh
|
|
|
149
148
|
|
|
150
149
|
- From binaries:
|
|
151
150
|
|
|
152
|
-
- [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.
|
|
153
|
-
- [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.
|
|
154
|
-
- [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.
|
|
155
|
-
- [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.
|
|
151
|
+
- [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.0a1/PartSeg-0.16.0a1-windows.zip) (build on Windows 10)
|
|
152
|
+
- [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.0a1/PartSeg-0.16.0a1-linux.zip) (build on Ubuntu 20.04)
|
|
153
|
+
- [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.0a1/PartSeg-0.16.0a1-macos.zip) (build on macOS 13)
|
|
154
|
+
- [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.0a1/PartSeg-0.16.0a1-macos-arm64.zip) (build on macOS 14)
|
|
156
155
|
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
156
|
|
|
158
157
|
- With pip:
|
|
@@ -242,12 +241,42 @@ from 3D microscopy images for dummies. BMC Bioinformatics 22, 72 (2021).
|
|
|
242
241
|
|
|
243
242
|
All notable changes to this project will be documented in this file.
|
|
244
243
|
|
|
245
|
-
### 0.
|
|
244
|
+
### 0.16.0 - 2024-10-22
|
|
245
|
+
|
|
246
|
+
This release drop support for python 3.8 and napari below 0.4.19.
|
|
247
|
+
|
|
248
|
+
#### 🐛 Bug Fixes
|
|
249
|
+
|
|
250
|
+
- Fix error when image changed during segmentation ([#1218](https://github.com/4DNucleome/PartSeg/pull/1218))
|
|
251
|
+
- Fix pre release tests ([#1219](https://github.com/4DNucleome/PartSeg/pull/1219))
|
|
252
|
+
|
|
253
|
+
#### 🧪 Testing
|
|
254
|
+
|
|
255
|
+
- \[Automatic\] Constraints upgrades: `h5py`, `imageio`, `ipython`, `napari`, `numpy`, `sentry-sdk` ([#1201](https://github.com/4DNucleome/PartSeg/pull/1201))
|
|
256
|
+
- \[Automatic\] Constraints upgrades: `sentry-sdk` ([#1214](https://github.com/4DNucleome/PartSeg/pull/1214))
|
|
257
|
+
|
|
258
|
+
#### ⚙️ Miscellaneous Tasks
|
|
259
|
+
|
|
260
|
+
- Stop using mambaforge in tests ([#1203](https://github.com/4DNucleome/PartSeg/pull/1203))
|
|
261
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1202](https://github.com/4DNucleome/PartSeg/pull/1202))
|
|
262
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1204](https://github.com/4DNucleome/PartSeg/pull/1204))
|
|
263
|
+
- Remove defining default version of language in pre-commit configuration ([#1208](https://github.com/4DNucleome/PartSeg/pull/1208))
|
|
264
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1209](https://github.com/4DNucleome/PartSeg/pull/1209))
|
|
265
|
+
- Drop python 3.8 ([#1206](https://github.com/4DNucleome/PartSeg/pull/1206))
|
|
266
|
+
- Use `PublishPipelineArtifact` in place of `PublishBuildArtifacts` to reduce CI fragility ([#1213](https://github.com/4DNucleome/PartSeg/pull/1213))
|
|
267
|
+
- Update CI configuration to use more modern OS and python versions ([#1207](https://github.com/4DNucleome/PartSeg/pull/1207))
|
|
268
|
+
- Fix `upgrade-dependencies.yaml`docs constraints ([#1215](https://github.com/4DNucleome/PartSeg/pull/1215))
|
|
269
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1216](https://github.com/4DNucleome/PartSeg/pull/1216))
|
|
270
|
+
|
|
271
|
+
### 0.15.4 - 2024-09-27
|
|
246
272
|
|
|
247
273
|
#### 🚀 Features
|
|
248
274
|
|
|
249
275
|
- Add preview of image metadata ([#1154](https://github.com/4DNucleome/PartSeg/pull/1154))
|
|
250
276
|
- Add option to combine channels using sum and max ([#1159](https://github.com/4DNucleome/PartSeg/pull/1159))
|
|
277
|
+
- Add metadata viewer as napari widget ([#1195](https://github.com/4DNucleome/PartSeg/pull/1195))
|
|
278
|
+
- Read channel colors from `*.czi` metadata ([#1198](https://github.com/4DNucleome/PartSeg/pull/1198))
|
|
279
|
+
- Use image color when add layer to napari ([#1200](https://github.com/4DNucleome/PartSeg/pull/1200))
|
|
251
280
|
|
|
252
281
|
#### 🐛 Bug Fixes
|
|
253
282
|
|
|
@@ -262,7 +291,13 @@ All notable changes to this project will be documented in this file.
|
|
|
262
291
|
- Fix trying to access to just deleted measurement profile from edit window. ([#1168](https://github.com/4DNucleome/PartSeg/pull/1168))
|
|
263
292
|
- Fix bug in code for checking for survey file ([#1174](https://github.com/4DNucleome/PartSeg/pull/1174))
|
|
264
293
|
- Fix plugin discovery in bundle to register them in napari viewer ([#1175](https://github.com/4DNucleome/PartSeg/pull/1175))
|
|
265
|
-
- Fix
|
|
294
|
+
- Fix problem with setting range of auto-generated widget ([#1187](https://github.com/4DNucleome/PartSeg/pull/1187))
|
|
295
|
+
- Fix reading channel names from single channel czi files ([#1194](https://github.com/4DNucleome/PartSeg/pull/1194))
|
|
296
|
+
|
|
297
|
+
#### 🚜 Refactor
|
|
298
|
+
|
|
299
|
+
- Make warnings error in tests ([#1192](https://github.com/4DNucleome/PartSeg/pull/1192))
|
|
300
|
+
- Merge all channel-specific attributes of the Image class ([#1191](https://github.com/4DNucleome/PartSeg/pull/1191))
|
|
266
301
|
|
|
267
302
|
#### 📚 Documentation
|
|
268
303
|
|
|
@@ -279,6 +314,11 @@ All notable changes to this project will be documented in this file.
|
|
|
279
314
|
- \[Automatic\] Constraints upgrades: `napari`, `sentry-sdk`, `tifffile` ([#1169](https://github.com/4DNucleome/PartSeg/pull/1169))
|
|
280
315
|
- \[Automatic\] Constraints upgrades: `magicgui`, `sentry-sdk` ([#1172](https://github.com/4DNucleome/PartSeg/pull/1172))
|
|
281
316
|
- \[Automatic\] Constraints upgrades: `sympy`, `tifffile` ([#1177](https://github.com/4DNucleome/PartSeg/pull/1177))
|
|
317
|
+
- \[Automatic\] Constraints upgrades: `imageio`, `napari`, `numpy` ([#1180](https://github.com/4DNucleome/PartSeg/pull/1180))
|
|
318
|
+
- Constraints upgrades: `sentry-sdk` and fix tests ([#1182](https://github.com/4DNucleome/PartSeg/pull/1182))
|
|
319
|
+
- `napari==0.5.3` related fixes, Constraints upgrades: `imageio`, `ipython`, `numpy`, `qtconsole`, `scipy`, `simpleitk`, `tifffile` ([#1183](https://github.com/4DNucleome/PartSeg/pull/1183))
|
|
320
|
+
- \[Automatic\] Constraints upgrades: `numpy`, `pydantic` ([#1188](https://github.com/4DNucleome/PartSeg/pull/1188))
|
|
321
|
+
- \[Automatic\] Constraints upgrades: `imagecodecs`, `pandas`, `pydantic`, `sentry-sdk`, `sympy`, `tifffile` ([#1190](https://github.com/4DNucleome/PartSeg/pull/1190))
|
|
282
322
|
|
|
283
323
|
#### ⚙️ Miscellaneous Tasks
|
|
284
324
|
|
|
@@ -295,6 +335,13 @@ All notable changes to this project will be documented in this file.
|
|
|
295
335
|
- Disable thumbnail generation in napari layer as it is fragile and not used ([#1171](https://github.com/4DNucleome/PartSeg/pull/1171))
|
|
296
336
|
- \[pre-commit.ci\] pre-commit autoupdate ([#1173](https://github.com/4DNucleome/PartSeg/pull/1173))
|
|
297
337
|
- \[pre-commit.ci\] pre-commit autoupdate ([#1178](https://github.com/4DNucleome/PartSeg/pull/1178))
|
|
338
|
+
- Fix call of logger to properly pass arguments to messages ([#1179](https://github.com/4DNucleome/PartSeg/pull/1179))
|
|
339
|
+
- Fix coverage files upload by enable hidden files upload ([#1186](https://github.com/4DNucleome/PartSeg/pull/1186))
|
|
340
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1184](https://github.com/4DNucleome/PartSeg/pull/1184))
|
|
341
|
+
- Use PyQt6 in pre-tests ([#1196](https://github.com/4DNucleome/PartSeg/pull/1196))
|
|
342
|
+
- Add missed code from #1191 ([#1197](https://github.com/4DNucleome/PartSeg/pull/1197))
|
|
343
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1189](https://github.com/4DNucleome/PartSeg/pull/1189))
|
|
344
|
+
- Auto add "skip check PR title" label in update dependencies PR ([#1199](https://github.com/4DNucleome/PartSeg/pull/1199))
|
|
298
345
|
|
|
299
346
|
#### Build
|
|
300
347
|
|
|
@@ -2,12 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## 0.
|
|
5
|
+
## 0.16.0 - 2024-10-22
|
|
6
|
+
|
|
7
|
+
This release drop support for python 3.8 and napari below 0.4.19.
|
|
8
|
+
|
|
9
|
+
### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- Fix error when image changed during segmentation ([#1218](https://github.com/4DNucleome/PartSeg/pull/1218))
|
|
12
|
+
- Fix pre release tests ([#1219](https://github.com/4DNucleome/PartSeg/pull/1219))
|
|
13
|
+
|
|
14
|
+
### 🧪 Testing
|
|
15
|
+
|
|
16
|
+
- \[Automatic\] Constraints upgrades: `h5py`, `imageio`, `ipython`, `napari`, `numpy`, `sentry-sdk` ([#1201](https://github.com/4DNucleome/PartSeg/pull/1201))
|
|
17
|
+
- \[Automatic\] Constraints upgrades: `sentry-sdk` ([#1214](https://github.com/4DNucleome/PartSeg/pull/1214))
|
|
18
|
+
|
|
19
|
+
### ⚙️ Miscellaneous Tasks
|
|
20
|
+
|
|
21
|
+
- Stop using mambaforge in tests ([#1203](https://github.com/4DNucleome/PartSeg/pull/1203))
|
|
22
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1202](https://github.com/4DNucleome/PartSeg/pull/1202))
|
|
23
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1204](https://github.com/4DNucleome/PartSeg/pull/1204))
|
|
24
|
+
- Remove defining default version of language in pre-commit configuration ([#1208](https://github.com/4DNucleome/PartSeg/pull/1208))
|
|
25
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1209](https://github.com/4DNucleome/PartSeg/pull/1209))
|
|
26
|
+
- Drop python 3.8 ([#1206](https://github.com/4DNucleome/PartSeg/pull/1206))
|
|
27
|
+
- Use `PublishPipelineArtifact` in place of `PublishBuildArtifacts` to reduce CI fragility ([#1213](https://github.com/4DNucleome/PartSeg/pull/1213))
|
|
28
|
+
- Update CI configuration to use more modern OS and python versions ([#1207](https://github.com/4DNucleome/PartSeg/pull/1207))
|
|
29
|
+
- Fix `upgrade-dependencies.yaml`docs constraints ([#1215](https://github.com/4DNucleome/PartSeg/pull/1215))
|
|
30
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1216](https://github.com/4DNucleome/PartSeg/pull/1216))
|
|
31
|
+
|
|
32
|
+
## 0.15.4 - 2024-09-27
|
|
6
33
|
|
|
7
34
|
### 🚀 Features
|
|
8
35
|
|
|
9
36
|
- Add preview of image metadata ([#1154](https://github.com/4DNucleome/PartSeg/pull/1154))
|
|
10
37
|
- Add option to combine channels using sum and max ([#1159](https://github.com/4DNucleome/PartSeg/pull/1159))
|
|
38
|
+
- Add metadata viewer as napari widget ([#1195](https://github.com/4DNucleome/PartSeg/pull/1195))
|
|
39
|
+
- Read channel colors from `*.czi` metadata ([#1198](https://github.com/4DNucleome/PartSeg/pull/1198))
|
|
40
|
+
- Use image color when add layer to napari ([#1200](https://github.com/4DNucleome/PartSeg/pull/1200))
|
|
11
41
|
|
|
12
42
|
### 🐛 Bug Fixes
|
|
13
43
|
|
|
@@ -22,7 +52,13 @@ All notable changes to this project will be documented in this file.
|
|
|
22
52
|
- Fix trying to access to just deleted measurement profile from edit window. ([#1168](https://github.com/4DNucleome/PartSeg/pull/1168))
|
|
23
53
|
- Fix bug in code for checking for survey file ([#1174](https://github.com/4DNucleome/PartSeg/pull/1174))
|
|
24
54
|
- Fix plugin discovery in bundle to register them in napari viewer ([#1175](https://github.com/4DNucleome/PartSeg/pull/1175))
|
|
25
|
-
- Fix
|
|
55
|
+
- Fix problem with setting range of auto-generated widget ([#1187](https://github.com/4DNucleome/PartSeg/pull/1187))
|
|
56
|
+
- Fix reading channel names from single channel czi files ([#1194](https://github.com/4DNucleome/PartSeg/pull/1194))
|
|
57
|
+
|
|
58
|
+
### 🚜 Refactor
|
|
59
|
+
|
|
60
|
+
- Make warnings error in tests ([#1192](https://github.com/4DNucleome/PartSeg/pull/1192))
|
|
61
|
+
- Merge all channel-specific attributes of the Image class ([#1191](https://github.com/4DNucleome/PartSeg/pull/1191))
|
|
26
62
|
|
|
27
63
|
### 📚 Documentation
|
|
28
64
|
|
|
@@ -39,6 +75,11 @@ All notable changes to this project will be documented in this file.
|
|
|
39
75
|
- \[Automatic\] Constraints upgrades: `napari`, `sentry-sdk`, `tifffile` ([#1169](https://github.com/4DNucleome/PartSeg/pull/1169))
|
|
40
76
|
- \[Automatic\] Constraints upgrades: `magicgui`, `sentry-sdk` ([#1172](https://github.com/4DNucleome/PartSeg/pull/1172))
|
|
41
77
|
- \[Automatic\] Constraints upgrades: `sympy`, `tifffile` ([#1177](https://github.com/4DNucleome/PartSeg/pull/1177))
|
|
78
|
+
- \[Automatic\] Constraints upgrades: `imageio`, `napari`, `numpy` ([#1180](https://github.com/4DNucleome/PartSeg/pull/1180))
|
|
79
|
+
- Constraints upgrades: `sentry-sdk` and fix tests ([#1182](https://github.com/4DNucleome/PartSeg/pull/1182))
|
|
80
|
+
- `napari==0.5.3` related fixes, Constraints upgrades: `imageio`, `ipython`, `numpy`, `qtconsole`, `scipy`, `simpleitk`, `tifffile` ([#1183](https://github.com/4DNucleome/PartSeg/pull/1183))
|
|
81
|
+
- \[Automatic\] Constraints upgrades: `numpy`, `pydantic` ([#1188](https://github.com/4DNucleome/PartSeg/pull/1188))
|
|
82
|
+
- \[Automatic\] Constraints upgrades: `imagecodecs`, `pandas`, `pydantic`, `sentry-sdk`, `sympy`, `tifffile` ([#1190](https://github.com/4DNucleome/PartSeg/pull/1190))
|
|
42
83
|
|
|
43
84
|
### ⚙️ Miscellaneous Tasks
|
|
44
85
|
|
|
@@ -55,6 +96,13 @@ All notable changes to this project will be documented in this file.
|
|
|
55
96
|
- Disable thumbnail generation in napari layer as it is fragile and not used ([#1171](https://github.com/4DNucleome/PartSeg/pull/1171))
|
|
56
97
|
- \[pre-commit.ci\] pre-commit autoupdate ([#1173](https://github.com/4DNucleome/PartSeg/pull/1173))
|
|
57
98
|
- \[pre-commit.ci\] pre-commit autoupdate ([#1178](https://github.com/4DNucleome/PartSeg/pull/1178))
|
|
99
|
+
- Fix call of logger to properly pass arguments to messages ([#1179](https://github.com/4DNucleome/PartSeg/pull/1179))
|
|
100
|
+
- Fix coverage files upload by enable hidden files upload ([#1186](https://github.com/4DNucleome/PartSeg/pull/1186))
|
|
101
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1184](https://github.com/4DNucleome/PartSeg/pull/1184))
|
|
102
|
+
- Use PyQt6 in pre-tests ([#1196](https://github.com/4DNucleome/PartSeg/pull/1196))
|
|
103
|
+
- Add missed code from #1191 ([#1197](https://github.com/4DNucleome/PartSeg/pull/1197))
|
|
104
|
+
- \[pre-commit.ci\] pre-commit autoupdate ([#1189](https://github.com/4DNucleome/PartSeg/pull/1189))
|
|
105
|
+
- Auto add "skip check PR title" label in update dependencies PR ([#1199](https://github.com/4DNucleome/PartSeg/pull/1199))
|
|
58
106
|
|
|
59
107
|
### Build
|
|
60
108
|
|
|
@@ -40,8 +40,9 @@ class CheckVersionThread(QThread):
|
|
|
40
40
|
return
|
|
41
41
|
try:
|
|
42
42
|
if os.path.exists(os.path.join(state_store.save_folder, IGNORE_FILE)):
|
|
43
|
-
with
|
|
44
|
-
|
|
43
|
+
with (
|
|
44
|
+
open(os.path.join(state_store.save_folder, IGNORE_FILE), encoding="utf-8") as f_p,
|
|
45
|
+
suppress(ValueError),
|
|
45
46
|
):
|
|
46
47
|
old_date = date.fromisoformat(f_p.read())
|
|
47
48
|
if (date.today() - old_date).days < IGNORE_DAYS:
|
|
@@ -2,7 +2,7 @@ import importlib
|
|
|
2
2
|
import os
|
|
3
3
|
import warnings
|
|
4
4
|
from functools import partial
|
|
5
|
-
from typing import TYPE_CHECKING
|
|
5
|
+
from typing import TYPE_CHECKING
|
|
6
6
|
|
|
7
7
|
from qtpy.QtCore import QSize, Qt, QThread, Signal
|
|
8
8
|
from qtpy.QtGui import QIcon
|
|
@@ -34,7 +34,7 @@ class Prepare(QThread):
|
|
|
34
34
|
|
|
35
35
|
plugins.register()
|
|
36
36
|
main_window_module = importlib.import_module(self.module)
|
|
37
|
-
main_window:
|
|
37
|
+
main_window: type[BaseMainWindow] = main_window_module.MainWindow
|
|
38
38
|
settings: BaseSettings = main_window.get_setting_class()(main_window_module.CONFIG_FOLDER)
|
|
39
39
|
self.errors = settings.load()
|
|
40
40
|
reader = TiffImageReader()
|
|
@@ -2,7 +2,7 @@ import json
|
|
|
2
2
|
import os
|
|
3
3
|
from contextlib import suppress
|
|
4
4
|
from copy import deepcopy
|
|
5
|
-
from typing import
|
|
5
|
+
from typing import Optional, Union, cast
|
|
6
6
|
|
|
7
7
|
from qtpy.QtCore import QEvent, Qt, Slot
|
|
8
8
|
from qtpy.QtGui import QIcon
|
|
@@ -49,7 +49,7 @@ from PartSegCore.io_utils import LoadPlanJson
|
|
|
49
49
|
from PartSegCore.universal_const import UNIT_SCALE, Units
|
|
50
50
|
from PartSegData import icons_dir
|
|
51
51
|
|
|
52
|
-
_DialogType = Union[
|
|
52
|
+
_DialogType = Union[type[str], type[int], type[float]]
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
def h_line():
|
|
@@ -366,7 +366,7 @@ class MeasurementSettings(QWidget):
|
|
|
366
366
|
def __init__(self, settings: PartSettings, parent=None): # noqa: PLR0915
|
|
367
367
|
super().__init__(parent)
|
|
368
368
|
self.chosen_element: Optional[MeasurementListWidgetItem] = None
|
|
369
|
-
self.chosen_element_area: Optional[
|
|
369
|
+
self.chosen_element_area: Optional[tuple[AreaType, float]] = None
|
|
370
370
|
self.settings = settings
|
|
371
371
|
self.profile_list = QListWidget(self)
|
|
372
372
|
self.profile_description = QTextEdit(self)
|
|
@@ -841,7 +841,7 @@ class MultipleInput(QDialog):
|
|
|
841
841
|
self,
|
|
842
842
|
text: str,
|
|
843
843
|
help_text: str = "",
|
|
844
|
-
objects_list: Optional[
|
|
844
|
+
objects_list: Optional[list[Union[tuple[str, _DialogType], tuple[str, _DialogType, str]]]] = None,
|
|
845
845
|
parent: Optional[QWidget] = None,
|
|
846
846
|
):
|
|
847
847
|
if objects_list is None: # pragma: no cover
|
|
@@ -74,7 +74,7 @@ class SaveExcel(SaveBase):
|
|
|
74
74
|
return "Excel (*.xlsx)"
|
|
75
75
|
|
|
76
76
|
@classmethod
|
|
77
|
-
def get_fields(cls) ->
|
|
77
|
+
def get_fields(cls) -> list[typing.Union[AlgorithmProperty, str]]:
|
|
78
78
|
return []
|
|
79
79
|
|
|
80
80
|
|
|
@@ -376,7 +376,7 @@ class CalculationPrepare(QDialog):
|
|
|
376
376
|
|
|
377
377
|
def __init__(
|
|
378
378
|
self,
|
|
379
|
-
file_list:
|
|
379
|
+
file_list: list[os.PathLike],
|
|
380
380
|
calculation_plan: CalculationPlan,
|
|
381
381
|
measurement_file_path: os.PathLike,
|
|
382
382
|
settings: PartSettings,
|
|
@@ -308,7 +308,7 @@ class ExportProjectDialog(QDialog):
|
|
|
308
308
|
|
|
309
309
|
def _extract_information_from_excel_to_export(
|
|
310
310
|
excel_path: typing.Union[str, Path], base_folder: typing.Union[str, Path]
|
|
311
|
-
) ->
|
|
311
|
+
) -> list[tuple[str, bool]]:
|
|
312
312
|
"""Extract information from Excel file to export"""
|
|
313
313
|
file_list = []
|
|
314
314
|
file_set = set()
|
|
@@ -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 %s seconds", sleep_time)
|
|
396
396
|
time.sleep(sleep_time)
|
|
397
397
|
|
|
398
398
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from contextlib import suppress
|
|
3
|
-
from typing import Type
|
|
4
3
|
|
|
5
4
|
from qtpy.QtCore import QByteArray, Qt
|
|
6
5
|
from qtpy.QtGui import QIcon, QKeyEvent, QKeySequence, QResizeEvent
|
|
@@ -534,7 +533,7 @@ class MainWindow(BaseMainWindow):
|
|
|
534
533
|
settings: PartSettings
|
|
535
534
|
|
|
536
535
|
@classmethod
|
|
537
|
-
def get_setting_class(cls) ->
|
|
536
|
+
def get_setting_class(cls) -> type[PartSettings]:
|
|
538
537
|
return PartSettings
|
|
539
538
|
|
|
540
539
|
initial_image_path = PartSegData.segmentation_analysis_default_image
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import locale
|
|
2
2
|
import os
|
|
3
3
|
from enum import Enum
|
|
4
|
-
from typing import List, Tuple
|
|
5
4
|
|
|
6
5
|
from qtpy.QtCore import Qt
|
|
7
6
|
from qtpy.QtGui import QKeyEvent, QResizeEvent
|
|
@@ -56,7 +55,7 @@ class MeasurementsStorage:
|
|
|
56
55
|
self.header = []
|
|
57
56
|
self.max_rows = 0
|
|
58
57
|
self.content = []
|
|
59
|
-
self.measurements:
|
|
58
|
+
self.measurements: list[MeasurementResult] = []
|
|
60
59
|
|
|
61
60
|
def get_size(self, save_orientation: bool):
|
|
62
61
|
if save_orientation:
|
|
@@ -116,13 +115,13 @@ class MeasurementsStorage:
|
|
|
116
115
|
val = sublist[y]
|
|
117
116
|
return locale.str(val) if isinstance(val, float) else str(val)
|
|
118
117
|
|
|
119
|
-
def get_header(self, save_orientation: bool) ->
|
|
118
|
+
def get_header(self, save_orientation: bool) -> list[str]:
|
|
120
119
|
if save_orientation:
|
|
121
120
|
return [str(i) for i in range(self.max_rows)]
|
|
122
121
|
|
|
123
122
|
return self.header
|
|
124
123
|
|
|
125
|
-
def get_rows(self, save_orientation: bool) ->
|
|
124
|
+
def get_rows(self, save_orientation: bool) -> list[str]:
|
|
126
125
|
return self.get_header(not save_orientation)
|
|
127
126
|
|
|
128
127
|
|
|
@@ -315,7 +314,7 @@ class MeasurementWidgetBase(QWidget):
|
|
|
315
314
|
self.measurement_type.blockSignals(False)
|
|
316
315
|
|
|
317
316
|
@staticmethod
|
|
318
|
-
def _move_widgets(widgets_list:
|
|
317
|
+
def _move_widgets(widgets_list: list[tuple[QWidget, int]], layout1: QBoxLayout, layout2: QBoxLayout):
|
|
319
318
|
for el in widgets_list:
|
|
320
319
|
layout1.removeWidget(el[0])
|
|
321
320
|
layout2.addWidget(el[0], el[1])
|
|
@@ -31,7 +31,7 @@ class PartSettings(BaseSettings):
|
|
|
31
31
|
json_encoder_class = PartSegEncoder
|
|
32
32
|
load_metadata = staticmethod(load_metadata)
|
|
33
33
|
last_executed_algorithm: str
|
|
34
|
-
save_locations_keys: typing.ClassVar[
|
|
34
|
+
save_locations_keys: typing.ClassVar[list[str]] = [
|
|
35
35
|
"open_directory",
|
|
36
36
|
"save_directory",
|
|
37
37
|
"export_directory",
|
|
@@ -132,7 +132,7 @@ class PartSettings(BaseSettings):
|
|
|
132
132
|
)
|
|
133
133
|
self.algorithm_changed.emit()
|
|
134
134
|
|
|
135
|
-
def get_save_list(self) ->
|
|
135
|
+
def get_save_list(self) -> list[SaveSettingsDescription]:
|
|
136
136
|
return [
|
|
137
137
|
*super().get_save_list(),
|
|
138
138
|
SaveSettingsDescription("segmentation_pipeline_save.json", self._segmentation_pipelines_dict),
|
|
@@ -142,27 +142,27 @@ class PartSettings(BaseSettings):
|
|
|
142
142
|
]
|
|
143
143
|
|
|
144
144
|
@property
|
|
145
|
-
def segmentation_pipelines(self) ->
|
|
145
|
+
def segmentation_pipelines(self) -> dict[str, SegmentationPipeline]:
|
|
146
146
|
warnings.warn("segmentation_pipelines is deprecated, use roi_pipelines", DeprecationWarning, stacklevel=2)
|
|
147
147
|
return self.roi_pipelines
|
|
148
148
|
|
|
149
149
|
@property
|
|
150
|
-
def roi_pipelines(self) ->
|
|
150
|
+
def roi_pipelines(self) -> dict[str, SegmentationPipeline]:
|
|
151
151
|
return self._segmentation_pipelines_dict.get(self._current_roi_dict, EventedDict())
|
|
152
152
|
|
|
153
153
|
@property
|
|
154
|
-
def segmentation_profiles(self) ->
|
|
154
|
+
def segmentation_profiles(self) -> dict[str, ROIExtractionProfile]:
|
|
155
155
|
warnings.warn("segmentation_profiles is deprecated, use roi_profiles", DeprecationWarning, stacklevel=2)
|
|
156
156
|
return self.roi_profiles
|
|
157
157
|
|
|
158
158
|
@property
|
|
159
|
-
def roi_profiles(self) ->
|
|
159
|
+
def roi_profiles(self) -> dict[str, ROIExtractionProfile]:
|
|
160
160
|
return self._segmentation_profiles_dict.get(self._current_roi_dict, EventedDict())
|
|
161
161
|
|
|
162
162
|
@property
|
|
163
|
-
def batch_plans(self) ->
|
|
163
|
+
def batch_plans(self) -> dict[str, CalculationPlan]:
|
|
164
164
|
return self._batch_plans_dict.get(self._current_roi_dict, EventedDict())
|
|
165
165
|
|
|
166
166
|
@property
|
|
167
|
-
def measurement_profiles(self) ->
|
|
167
|
+
def measurement_profiles(self) -> dict[str, MeasurementProfile]:
|
|
168
168
|
return self._measurement_profiles_dict.get(self._current_roi_dict, EventedDict())
|
|
@@ -294,9 +294,7 @@ class ProtectedGroupBox(QGroupBox):
|
|
|
294
294
|
self.protect = previous
|
|
295
295
|
|
|
296
296
|
@classmethod
|
|
297
|
-
def refresh_profiles(
|
|
298
|
-
cls, list_widget: typing.Union[QListWidget, SearchableListWidget], new_values: typing.List[str]
|
|
299
|
-
):
|
|
297
|
+
def refresh_profiles(cls, list_widget: typing.Union[QListWidget, SearchableListWidget], new_values: list[str]):
|
|
300
298
|
index = cls.get_index(list_widget.currentItem(), new_values)
|
|
301
299
|
list_widget.clear()
|
|
302
300
|
list_widget.addItems(new_values)
|
|
@@ -304,7 +302,7 @@ class ProtectedGroupBox(QGroupBox):
|
|
|
304
302
|
list_widget.setCurrentRow(index)
|
|
305
303
|
|
|
306
304
|
@staticmethod
|
|
307
|
-
def get_index(item: QListWidgetItem, new_values:
|
|
305
|
+
def get_index(item: QListWidgetItem, new_values: list[str]) -> int:
|
|
308
306
|
if item is None:
|
|
309
307
|
return -1
|
|
310
308
|
text = item.text()
|
|
@@ -319,7 +317,7 @@ class OtherOperations(ProtectedGroupBox):
|
|
|
319
317
|
|
|
320
318
|
def __init__(self, parent=None):
|
|
321
319
|
super().__init__("Other operations:", parent)
|
|
322
|
-
self.save_translate_dict:
|
|
320
|
+
self.save_translate_dict: dict[str, SaveBase] = {x.get_short_name(): x for x in save_dict.values()}
|
|
323
321
|
self.save_constructor = None
|
|
324
322
|
|
|
325
323
|
self.change_root = QEnumComboBox(self, enum_class=RootType)
|
|
@@ -642,7 +640,7 @@ class SelectMaskOp(ProtectedGroupBox):
|
|
|
642
640
|
|
|
643
641
|
self.add_mask_btn.setDisabled(True)
|
|
644
642
|
|
|
645
|
-
def update_mask_set(self, mask_set:
|
|
643
|
+
def update_mask_set(self, mask_set: set[str]):
|
|
646
644
|
self.mask_set = mask_set
|
|
647
645
|
|
|
648
646
|
def set_replace(self, replace: bool):
|
|
@@ -692,7 +690,7 @@ class CreatePlan(QWidget):
|
|
|
692
690
|
def __init__(self, settings: PartSettings):
|
|
693
691
|
super().__init__()
|
|
694
692
|
self.settings = settings
|
|
695
|
-
self.save_translate_dict:
|
|
693
|
+
self.save_translate_dict: dict[str, SaveBase] = {x.get_short_name(): x for x in save_dict.values()}
|
|
696
694
|
self._mask_set = set()
|
|
697
695
|
self.plan = PlanPreview(self)
|
|
698
696
|
self.save_plan_btn = QPushButton("Save")
|
|
@@ -153,10 +153,10 @@ class ExportDialog(QDialog):
|
|
|
153
153
|
class ImportDialog(QDialog):
|
|
154
154
|
def __init__(
|
|
155
155
|
self,
|
|
156
|
-
import_dict:
|
|
157
|
-
local_dict:
|
|
158
|
-
viewer:
|
|
159
|
-
expected_type: typing.Optional[
|
|
156
|
+
import_dict: dict[str, typing.Any],
|
|
157
|
+
local_dict: dict[str, typing.Any],
|
|
158
|
+
viewer: type[ObjectPreviewProtocol],
|
|
159
|
+
expected_type: typing.Optional[type] = None,
|
|
160
160
|
parent: typing.Optional[QWidget] = None,
|
|
161
161
|
):
|
|
162
162
|
"""
|
|
@@ -3,7 +3,7 @@ import re
|
|
|
3
3
|
from functools import partial
|
|
4
4
|
from pathlib import Path
|
|
5
5
|
from queue import Queue
|
|
6
|
-
from typing import
|
|
6
|
+
from typing import NamedTuple, Optional, Union, cast
|
|
7
7
|
|
|
8
8
|
from pydantic import BaseModel
|
|
9
9
|
from qtpy.QtCore import QThread, Signal
|
|
@@ -19,7 +19,7 @@ from PartSegCore.segmentation.algorithm_base import ROIExtractionAlgorithm
|
|
|
19
19
|
class BatchTask(NamedTuple):
|
|
20
20
|
data: Union[str, MaskProjectTuple]
|
|
21
21
|
parameters: ROIExtractionProfile
|
|
22
|
-
save_prefix: Optional[
|
|
22
|
+
save_prefix: Optional[tuple[Union[str, Path], Union[dict, BaseModel]]]
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
class BatchProceed(QThread):
|
|
@@ -40,7 +40,7 @@ class BatchProceed(QThread):
|
|
|
40
40
|
self.result_dir = ""
|
|
41
41
|
self.save_parameters = {}
|
|
42
42
|
|
|
43
|
-
def add_task(self, task: Union[BatchTask,
|
|
43
|
+
def add_task(self, task: Union[BatchTask, list[BatchTask]]):
|
|
44
44
|
if isinstance(task, list):
|
|
45
45
|
for el in task:
|
|
46
46
|
self.queue.put(el)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from contextlib import suppress
|
|
3
3
|
from functools import partial
|
|
4
|
-
from typing import Type
|
|
5
4
|
|
|
6
5
|
import numpy as np
|
|
7
6
|
from qtpy.QtCore import QByteArray, Qt, Signal, Slot
|
|
@@ -888,7 +887,7 @@ class MainWindow(BaseMainWindow):
|
|
|
888
887
|
settings: StackSettings
|
|
889
888
|
|
|
890
889
|
@classmethod
|
|
891
|
-
def get_setting_class(cls) ->
|
|
890
|
+
def get_setting_class(cls) -> type[StackSettings]:
|
|
892
891
|
return StackSettings
|
|
893
892
|
|
|
894
893
|
initial_image_path = PartSegData.segmentation_mask_default_image
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Callable,
|
|
1
|
+
from typing import Callable, Optional
|
|
2
2
|
|
|
3
3
|
from qtpy.QtCore import QEvent
|
|
4
4
|
from qtpy.QtWidgets import QGridLayout, QLabel, QListWidget, QPlainTextEdit, QPushButton, QWidget
|
|
@@ -45,7 +45,7 @@ class SegmentationInfoDialog(QWidget):
|
|
|
45
45
|
self.setLayout(layout)
|
|
46
46
|
self.setWindowTitle("Parameters preview")
|
|
47
47
|
|
|
48
|
-
def set_parameters_dict(self, val: Optional[
|
|
48
|
+
def set_parameters_dict(self, val: Optional[dict[int, ROIExtractionProfile]]):
|
|
49
49
|
self.parameters_dict = val
|
|
50
50
|
|
|
51
51
|
def set_additional_text(self, text):
|