PartSeg 0.16.1__tar.gz → 0.16.2__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.
Files changed (312) hide show
  1. {partseg-0.16.1 → partseg-0.16.2}/PKG-INFO +32 -6
  2. {partseg-0.16.1 → partseg-0.16.2}/changelog.md +25 -0
  3. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_launcher/main_window.py +8 -3
  4. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/advanced_window.py +3 -3
  5. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/batch_window.py +1 -1
  6. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/prepare_plan_widget.py +2 -2
  7. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/profile_export.py +2 -2
  8. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_mask/batch_proceed.py +6 -4
  9. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_mask/main_window.py +1 -1
  10. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/changelog.py +25 -0
  11. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/base_settings.py +4 -1
  12. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/algorithms_description.py +8 -8
  13. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/custom_save_dialog.py +2 -2
  14. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/launcher_main.py +6 -3
  15. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/roi_extraction_algorithms.py +4 -4
  16. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/search_label_widget.py +16 -6
  17. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/version.py +2 -2
  18. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg.egg-info/PKG-INFO +32 -6
  19. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/algorithm_describe_base.py +4 -4
  20. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/measurement_calculation.py +15 -3
  21. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/class_generator.py +2 -4
  22. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_analysis/test_export_batch.py +1 -1
  23. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_min_req.py +1 -1
  24. {partseg-0.16.1 → partseg-0.16.2}/requirements/constraints_py3.10.txt +53 -49
  25. {partseg-0.16.1 → partseg-0.16.2}/requirements/constraints_py3.10_pydantic_1.txt +48 -47
  26. {partseg-0.16.1 → partseg-0.16.2}/requirements/constraints_py3.11.txt +51 -48
  27. {partseg-0.16.1 → partseg-0.16.2}/requirements/constraints_py3.11_pydantic_1.txt +46 -46
  28. {partseg-0.16.1 → partseg-0.16.2}/requirements/constraints_py3.12.txt +54 -51
  29. {partseg-0.16.1 → partseg-0.16.2}/requirements/constraints_py3.12_docs.txt +47 -42
  30. {partseg-0.16.1 → partseg-0.16.2}/requirements/constraints_py3.12_pydantic_1.txt +49 -49
  31. {partseg-0.16.1 → partseg-0.16.2}/requirements/constraints_py3.9.txt +44 -40
  32. {partseg-0.16.1 → partseg-0.16.2}/requirements/constraints_py3.9_pydantic_1.txt +40 -39
  33. {partseg-0.16.1 → partseg-0.16.2}/.napari/DESCRIPTION.md +0 -0
  34. {partseg-0.16.1 → partseg-0.16.2}/.napari/config.yml +0 -0
  35. {partseg-0.16.1 → partseg-0.16.2}/CITATION.cff +0 -0
  36. {partseg-0.16.1 → partseg-0.16.2}/License.txt +0 -0
  37. {partseg-0.16.1 → partseg-0.16.2}/MANIFEST.in +0 -0
  38. {partseg-0.16.1 → partseg-0.16.2}/Readme.md +0 -0
  39. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/__init__.py +0 -0
  40. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/__main__.py +0 -0
  41. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_launcher/__init__.py +0 -0
  42. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_launcher/check_survey.py +0 -0
  43. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_launcher/check_version.py +0 -0
  44. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/__init__.py +0 -0
  45. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/calculation_pipeline_thread.py +0 -0
  46. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/export_batch.py +0 -0
  47. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/image_view.py +0 -0
  48. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/main_window.py +0 -0
  49. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/measurement_widget.py +0 -0
  50. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_analysis/partseg_settings.py +0 -0
  51. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_mask/__init__.py +0 -0
  52. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_mask/image_view.py +0 -0
  53. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_mask/segmentation_info_dialog.py +0 -0
  54. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_mask/simple_measurements.py +0 -0
  55. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/_roi_mask/stack_settings.py +0 -0
  56. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/__init__.py +0 -0
  57. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/abstract_class.py +0 -0
  58. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/base_argparser.py +0 -0
  59. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/except_hook.py +0 -0
  60. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/load_backup.py +0 -0
  61. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/partially_const_dict.py +0 -0
  62. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/progress_thread.py +0 -0
  63. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/python_syntax_highlight.py +0 -0
  64. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_backend/segmentation_thread.py +0 -0
  65. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/__init__.py +0 -0
  66. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/about_dialog.py +0 -0
  67. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/advanced_tabs.py +0 -0
  68. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/channel_control.py +0 -0
  69. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/collapse_checkbox.py +0 -0
  70. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/colormap_creator.py +0 -0
  71. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/custom_buttons.py +0 -0
  72. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/custom_load_dialog.py +0 -0
  73. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/dict_viewer.py +0 -0
  74. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/equal_column_layout.py +0 -0
  75. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/error_report.py +0 -0
  76. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/exception_hooks.py +0 -0
  77. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/flow_layout.py +0 -0
  78. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/icon_selector.py +0 -0
  79. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/image_adjustment.py +0 -0
  80. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/label_create.py +0 -0
  81. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/lock_checkbox.py +0 -0
  82. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/main_window.py +0 -0
  83. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/mask_widget.py +0 -0
  84. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/multiple_file_widget.py +0 -0
  85. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/napari_image_view.py +0 -0
  86. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/napari_viewer_wrap.py +0 -0
  87. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/numpy_qimage.py +0 -0
  88. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/qt_console.py +0 -0
  89. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/qt_modal.py +0 -0
  90. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/qt_util.py +0 -0
  91. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/searchable_combo_box.py +0 -0
  92. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/searchable_list_widget.py +0 -0
  93. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/select_multiple_files.py +0 -0
  94. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/show_directory_dialog.py +0 -0
  95. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/stack_image_view.py +0 -0
  96. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/stacked_widget_with_selector.py +0 -0
  97. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/universal_gui_part.py +0 -0
  98. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/common_gui/waiting_dialog.py +0 -0
  99. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/napari.yaml +0 -0
  100. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/__init__.py +0 -0
  101. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/itk_snap_save/__init__.py +0 -0
  102. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/modeling_save/__init__.py +0 -0
  103. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/modeling_save/save_modeling_data.py +0 -0
  104. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_io/__init__.py +0 -0
  105. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_io/load_image.py +0 -0
  106. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_io/load_mask_project.py +0 -0
  107. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_io/load_masked_image.py +0 -0
  108. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_io/load_roi_project.py +0 -0
  109. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_io/loader.py +0 -0
  110. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_io/save_mask_roi.py +0 -0
  111. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_io/save_tiff_layer.py +0 -0
  112. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/__init__.py +0 -0
  113. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/_settings.py +0 -0
  114. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/algorithm_widgets.py +0 -0
  115. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/colormap_control.py +0 -0
  116. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/copy_labels.py +0 -0
  117. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/lables_control.py +0 -0
  118. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/mask_create_widget.py +0 -0
  119. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/measurement_widget.py +0 -0
  120. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/metadata_viewer.py +0 -0
  121. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/simple_measurement_widget.py +0 -0
  122. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/napari_widgets/utils.py +0 -0
  123. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/old_partseg/__init__.py +0 -0
  124. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/plugins/old_partseg/old_partseg.py +0 -0
  125. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg/state_store.py +0 -0
  126. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg.egg-info/SOURCES.txt +0 -0
  127. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg.egg-info/dependency_links.txt +0 -0
  128. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg.egg-info/entry_points.txt +0 -0
  129. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg.egg-info/requires.txt +0 -0
  130. {partseg-0.16.1 → partseg-0.16.2}/package/PartSeg.egg-info/top_level.txt +0 -0
  131. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/__init__.py +0 -0
  132. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/_old_json_hooks.py +0 -0
  133. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/__init__.py +0 -0
  134. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/algorithm_description.py +0 -0
  135. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/analysis_utils.py +0 -0
  136. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/batch_processing/__init__.py +0 -0
  137. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/batch_processing/batch_backend.py +0 -0
  138. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/batch_processing/parallel_backend.py +0 -0
  139. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/calculate_pipeline.py +0 -0
  140. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/calculation_plan.py +0 -0
  141. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/io_utils.py +0 -0
  142. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/load_functions.py +0 -0
  143. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/measurement_base.py +0 -0
  144. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/analysis/save_functions.py +0 -0
  145. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/autofit.py +0 -0
  146. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/channel_class.py +0 -0
  147. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/color_image/__init__.py +0 -0
  148. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/color_image/base_colors.py +0 -0
  149. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/color_image/color_data.py +0 -0
  150. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/convex_fill.py +0 -0
  151. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/custom_name_generate.py +0 -0
  152. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/image_operations.py +0 -0
  153. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/image_transforming/__init__.py +0 -0
  154. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/image_transforming/combine_channels.py +0 -0
  155. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/image_transforming/image_projection.py +0 -0
  156. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/image_transforming/interpolate_image.py +0 -0
  157. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/image_transforming/swap_time_stack.py +0 -0
  158. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/image_transforming/transform_base.py +0 -0
  159. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/io_utils.py +0 -0
  160. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/json_hooks.py +0 -0
  161. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/mask/__init__.py +0 -0
  162. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/mask/algorithm_description.py +0 -0
  163. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/mask/history_utils.py +0 -0
  164. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/mask/io_functions.py +0 -0
  165. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/mask_create.py +0 -0
  166. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/mask_partition_utils.py +0 -0
  167. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/plugins/__init__.py +0 -0
  168. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/project_info.py +0 -0
  169. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/register.py +0 -0
  170. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/roi_info.py +0 -0
  171. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/__init__.py +0 -0
  172. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/algorithm_base.py +0 -0
  173. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/border_smoothing.py +0 -0
  174. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/mu_mid_point.py +0 -0
  175. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/noise_filtering.py +0 -0
  176. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/restartable_segmentation_algorithms.py +0 -0
  177. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/segmentation_algorithm.py +0 -0
  178. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/threshold.py +0 -0
  179. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/utils.py +0 -0
  180. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/segmentation/watershed.py +0 -0
  181. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/sphinx/__init__.py +0 -0
  182. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/sphinx/auto_parameters.py +0 -0
  183. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/universal_const.py +0 -0
  184. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegCore/utils.py +0 -0
  185. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegImage/__init__.py +0 -0
  186. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegImage/channel_class.py +0 -0
  187. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegImage/image.py +0 -0
  188. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegImage/image_reader.py +0 -0
  189. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegImage/image_writer.py +0 -0
  190. {partseg-0.16.1 → partseg-0.16.2}/package/PartSegImage/tifffile_fixes.py +0 -0
  191. {partseg-0.16.1 → partseg-0.16.2}/package/tests/conftest.py +0 -0
  192. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/__init__.py +0 -0
  193. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/conftest.py +0 -0
  194. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_analysis/__init__.py +0 -0
  195. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_analysis/test_advanced_window.py +0 -0
  196. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_analysis/test_batch.py +0 -0
  197. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_analysis/test_batch_window.py +0 -0
  198. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_analysis/test_image_view.py +0 -0
  199. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_analysis/test_main_window.py +0 -0
  200. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_analysis/test_profile_export.py +0 -0
  201. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_mask/__init__.py +0 -0
  202. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_mask/test_batch.py +0 -0
  203. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/roi_mask/test_main_window.py +0 -0
  204. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_analysis.py +0 -0
  205. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_base.py +0 -0
  206. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_base_widgets.py +0 -0
  207. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_channel_control.py +0 -0
  208. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_check_release.py +0 -0
  209. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_check_survey.py +0 -0
  210. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_colormap_create.py +0 -0
  211. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_common_backend.py +0 -0
  212. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_common_gui.py +0 -0
  213. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_io.py +0 -0
  214. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_label_choose.py +0 -0
  215. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_launcher.py +0 -0
  216. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_main_windows.py +0 -0
  217. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_napari_image_view.py +0 -0
  218. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_napari_io.py +0 -0
  219. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_napari_widgets.py +0 -0
  220. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_roi_analysis_batch.py +0 -0
  221. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_sentry.py +0 -0
  222. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_settings.py +0 -0
  223. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_viewer.py +0 -0
  224. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSeg/test_window_import.py +0 -0
  225. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/__init__.py +0 -0
  226. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/segmentation/__init__.py +0 -0
  227. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/segmentation/test_algorithm_base.py +0 -0
  228. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/segmentation/test_segmentation_algorithm.py +0 -0
  229. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/segmentation/test_threshold.py +0 -0
  230. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_algorithm_describe_base.py +0 -0
  231. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_analysis_batch.py +0 -0
  232. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_base.py +0 -0
  233. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_class_generator.py +0 -0
  234. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_class_register.py +0 -0
  235. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_image_adjustment.py +0 -0
  236. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_io.py +0 -0
  237. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_json_hooks.py +0 -0
  238. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_mask_create.py +0 -0
  239. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_mask_partition.py +0 -0
  240. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_measurements.py +0 -0
  241. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_mso.py +0 -0
  242. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_pipeline.py +0 -0
  243. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_segmentation.py +0 -0
  244. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_segmentation_proceses.py +0 -0
  245. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_smooth.py +0 -0
  246. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegCore/test_utils.py +0 -0
  247. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegImage/__init__.py +0 -0
  248. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegImage/test_channel_class.py +0 -0
  249. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegImage/test_image.py +0 -0
  250. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegImage/test_image_reader.py +0 -0
  251. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_PartSegImage/test_image_writer.py +0 -0
  252. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/calculation_plan_0.9.2.3.json +0 -0
  253. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/measurements_profile.json +0 -0
  254. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/napari_measurements_profile.json +0 -0
  255. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/notebook/neuron_types_measurment.json +0 -0
  256. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/notebook/neuron_types_segmentation.json +0 -0
  257. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/notebook/segment_data.json +0 -0
  258. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.10.4/analysis/batch_plans_save.json +0 -0
  259. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_pipeline_save.json +0 -0
  260. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_profiles_save.json +0 -0
  261. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_settings.json +0 -0
  262. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.10.4/analysis/statistic_profiles_save.json +0 -0
  263. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.10.4/analysis/view_settings.json +0 -0
  264. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.1/analysis/batch_plans_save.json +0 -0
  265. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_pipeline_save.json +0 -0
  266. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_profiles_save.json +0 -0
  267. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_settings.json +0 -0
  268. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.1/analysis/statistic_profiles_save.json +0 -0
  269. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.1/analysis/view_settings.json +0 -0
  270. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.1/mask/segmentation_settings.json +0 -0
  271. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.1/mask/view_settings.json +0 -0
  272. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.14/analysis/batch_plans_save.json +0 -0
  273. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_pipeline_save.json +0 -0
  274. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_profiles_save.json +0 -0
  275. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_settings.json +0 -0
  276. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.14/analysis/statistic_profiles_save.json +0 -0
  277. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.14/analysis/view_settings.json +0 -0
  278. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.14/mask/segmentation_settings.json +0 -0
  279. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.14/mask/view_settings.json +0 -0
  280. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.15/analysis/batch_plans_save.json +0 -0
  281. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_pipeline_save.json +0 -0
  282. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_profiles_save.json +0 -0
  283. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_settings.json +0 -0
  284. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.15/analysis/statistic_profiles_save.json +0 -0
  285. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.15/analysis/view_settings.json +0 -0
  286. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.15/mask/segmentation_settings.json +0 -0
  287. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.13.15/mask/view_settings.json +0 -0
  288. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.8.6/analysis/batch_plans_save.json +0 -0
  289. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_pipeline_save.json +0 -0
  290. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_profiles_save.json +0 -0
  291. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_settings.json +0 -0
  292. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.8.6/analysis/statistic_profiles_save.json +0 -0
  293. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/old_saves/0.8.6/analysis/view_settings.json +0 -0
  294. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/ome.xsd.xml +0 -0
  295. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/problematic_excel_batch.xlsx +0 -0
  296. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/problematic_json_batch.json +0 -0
  297. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/problematic_profile_dict.json +0 -0
  298. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/range_profile.json +0 -0
  299. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/sample_batch_output.xlsx +0 -0
  300. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/segment_profile_0.9.2.3.json +0 -0
  301. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/view_settings_v0.12.6.json +0 -0
  302. {partseg-0.16.1 → partseg-0.16.2}/package/tests/test_data/workflow.json +0 -0
  303. {partseg-0.16.1 → partseg-0.16.2}/pyproject.toml +0 -0
  304. {partseg-0.16.1 → partseg-0.16.2}/requirements/dependabot_runtime.txt +0 -0
  305. {partseg-0.16.1 → partseg-0.16.2}/requirements/pre_test_problematic_version.txt +0 -0
  306. {partseg-0.16.1 → partseg-0.16.2}/requirements/pydantic_1.txt +0 -0
  307. {partseg-0.16.1 → partseg-0.16.2}/requirements/requirements_ci.txt +0 -0
  308. {partseg-0.16.1 → partseg-0.16.2}/requirements/requirements_dev.txt +0 -0
  309. {partseg-0.16.1 → partseg-0.16.2}/requirements/requirements_test.txt +0 -0
  310. {partseg-0.16.1 → partseg-0.16.2}/requirements/version_denylist.txt +0 -0
  311. {partseg-0.16.1 → partseg-0.16.2}/setup.cfg +0 -0
  312. {partseg-0.16.1 → partseg-0.16.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: PartSeg
3
- Version: 0.16.1
3
+ Version: 0.16.2
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
@@ -113,6 +113,7 @@ Requires-Dist: pytest-qt; extra == "testing"
113
113
  Requires-Dist: lxml; extra == "testing"
114
114
  Dynamic: description
115
115
  Dynamic: description-content-type
116
+ Dynamic: license-file
116
117
 
117
118
  # PartSeg
118
119
 
@@ -150,10 +151,10 @@ This application is designed to help biologist with segmentation based on thresh
150
151
 
151
152
  - From binaries:
152
153
 
153
- - [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.1/PartSeg-0.16.1-windows.zip) (build on Windows 10)
154
- - [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.1/PartSeg-0.16.1-linux.zip) (build on Ubuntu 20.04)
155
- - [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.1/PartSeg-0.16.1-macos.zip) (build on macOS 13)
156
- - [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.1/PartSeg-0.16.1-macos-arm64.zip) (build on macOS 14)
154
+ - [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.2/PartSeg-0.16.2-windows.zip) (build on Windows 10)
155
+ - [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.2/PartSeg-0.16.2-linux.zip) (build on Ubuntu 20.04)
156
+ - [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.2/PartSeg-0.16.2-macos.zip) (build on macOS 13)
157
+ - [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.2/PartSeg-0.16.2-macos-arm64.zip) (build on macOS 14)
157
158
  There are reported problems with permissions systems on macOS. If you have a problem with starting the application, please try to run it from the terminal.
158
159
 
159
160
  - With pip:
@@ -243,6 +244,31 @@ from 3D microscopy images for dummies. BMC Bioinformatics 22, 72 (2021).
243
244
 
244
245
  All notable changes to this project will be documented in this file.
245
246
 
247
+ ### 0.16.2 - 2025-05-12
248
+
249
+ #### 🧪 Testing
250
+
251
+ - [Automatic] Constraints upgrades: `numpy`, `partsegcore-compiled-backend`, `tifffile` ([#1253](https://github.com/4DNucleome/PartSeg/pull/1253))
252
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipython`, `pydantic`, `sentry-sdk`, `superqt`, `tifffile` ([#1255](https://github.com/4DNucleome/PartSeg/pull/1255))
253
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `numpy`, `packaging`, `pydantic`, `sentry-sdk`, `simpleitk`, `sympy`, `xlsxwriter` ([#1266](https://github.com/4DNucleome/PartSeg/pull/1266))
254
+ - [Automatic] Constraints upgrades: `oiffile`, `psygnal`, `scipy`, `sentry-sdk`, `tifffile` ([#1267](https://github.com/4DNucleome/PartSeg/pull/1267))
255
+
256
+ #### ⚙️ Miscellaneous Tasks
257
+
258
+ - [pre-commit.ci] pre-commit autoupdate ([#1251](https://github.com/4DNucleome/PartSeg/pull/1251))
259
+ - Prepare for napari 0.6.0 deprecations ([#1256](https://github.com/4DNucleome/PartSeg/pull/1256))
260
+ - [pre-commit.ci] pre-commit autoupdate ([#1254](https://github.com/4DNucleome/PartSeg/pull/1254))
261
+ - [pre-commit.ci] pre-commit autoupdate ([#1259](https://github.com/4DNucleome/PartSeg/pull/1259))
262
+ - Update workflow to use Ubuntu 22.04 instead of 20.04 ([#1261](https://github.com/4DNucleome/PartSeg/pull/1261))
263
+ - [pre-commit.ci] pre-commit autoupdate ([#1260](https://github.com/4DNucleome/PartSeg/pull/1260))
264
+ - Try to fix Upgrade dependencies workflow part 2 ([#1265](https://github.com/4DNucleome/PartSeg/pull/1265))
265
+ - [pre-commit.ci] pre-commit autoupdate ([#1268](https://github.com/4DNucleome/PartSeg/pull/1268))
266
+
267
+ #### 🛡️ Security
268
+
269
+ - *(deps)* Bump peter-evans/create-pull-request from 6 to 7 ([#1262](https://github.com/4DNucleome/PartSeg/pull/1262))
270
+ - *(deps)* Bump codecov/codecov-action from 4 to 5 ([#1263](https://github.com/4DNucleome/PartSeg/pull/1263))
271
+
246
272
  ### 0.16.1 - 2025-03-10
247
273
 
248
274
  #### 🐛 Bug Fixes
@@ -2,6 +2,31 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 0.16.2 - 2025-05-12
6
+
7
+ ### 🧪 Testing
8
+
9
+ - [Automatic] Constraints upgrades: `numpy`, `partsegcore-compiled-backend`, `tifffile` ([#1253](https://github.com/4DNucleome/PartSeg/pull/1253))
10
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipython`, `pydantic`, `sentry-sdk`, `superqt`, `tifffile` ([#1255](https://github.com/4DNucleome/PartSeg/pull/1255))
11
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `numpy`, `packaging`, `pydantic`, `sentry-sdk`, `simpleitk`, `sympy`, `xlsxwriter` ([#1266](https://github.com/4DNucleome/PartSeg/pull/1266))
12
+ - [Automatic] Constraints upgrades: `oiffile`, `psygnal`, `scipy`, `sentry-sdk`, `tifffile` ([#1267](https://github.com/4DNucleome/PartSeg/pull/1267))
13
+
14
+ ### ⚙️ Miscellaneous Tasks
15
+
16
+ - [pre-commit.ci] pre-commit autoupdate ([#1251](https://github.com/4DNucleome/PartSeg/pull/1251))
17
+ - Prepare for napari 0.6.0 deprecations ([#1256](https://github.com/4DNucleome/PartSeg/pull/1256))
18
+ - [pre-commit.ci] pre-commit autoupdate ([#1254](https://github.com/4DNucleome/PartSeg/pull/1254))
19
+ - [pre-commit.ci] pre-commit autoupdate ([#1259](https://github.com/4DNucleome/PartSeg/pull/1259))
20
+ - Update workflow to use Ubuntu 22.04 instead of 20.04 ([#1261](https://github.com/4DNucleome/PartSeg/pull/1261))
21
+ - [pre-commit.ci] pre-commit autoupdate ([#1260](https://github.com/4DNucleome/PartSeg/pull/1260))
22
+ - Try to fix Upgrade dependencies workflow part 2 ([#1265](https://github.com/4DNucleome/PartSeg/pull/1265))
23
+ - [pre-commit.ci] pre-commit autoupdate ([#1268](https://github.com/4DNucleome/PartSeg/pull/1268))
24
+
25
+ ### 🛡️ Security
26
+
27
+ - *(deps)* Bump peter-evans/create-pull-request from 6 to 7 ([#1262](https://github.com/4DNucleome/PartSeg/pull/1262))
28
+ - *(deps)* Bump codecov/codecov-action from 4 to 5 ([#1263](https://github.com/4DNucleome/PartSeg/pull/1263))
29
+
5
30
  ## 0.16.1 - 2025-03-10
6
31
 
7
32
  ### 🐛 Bug Fixes
@@ -1,9 +1,10 @@
1
1
  import importlib
2
2
  import os
3
- import warnings
4
3
  from functools import partial
5
4
  from typing import TYPE_CHECKING
6
5
 
6
+ import napari
7
+ from packaging.version import parse as parse_version
7
8
  from qtpy.QtCore import QSize, Qt, QThread, Signal
8
9
  from qtpy.QtGui import QIcon
9
10
  from qtpy.QtWidgets import QGridLayout, QMainWindow, QMessageBox, QProgressBar, QToolButton, QWidget
@@ -19,6 +20,9 @@ if TYPE_CHECKING:
19
20
  from PartSeg.common_gui.main_window import BaseMainWindow
20
21
 
21
22
 
23
+ _napari_ge_5 = parse_version(napari.__version__) >= parse_version("0.5.0a1")
24
+
25
+
22
26
  class Prepare(QThread):
23
27
  def __init__(self, module: str):
24
28
  super().__init__()
@@ -142,8 +146,9 @@ class MainWindow(QMainWindow):
142
146
 
143
147
  def _update_theme(self):
144
148
  napari_settings = napari_get_settings(state_store.save_folder)
145
- with warnings.catch_warnings():
146
- warnings.simplefilter("ignore", FutureWarning)
149
+ if _napari_ge_5:
150
+ theme = get_theme(napari_settings.appearance.theme).to_rgb_dict()
151
+ else:
147
152
  theme = get_theme(napari_settings.appearance.theme, as_dict=True)
148
153
  # TODO understand qss overwrite mechanism
149
154
  self.setStyleSheet(napari_template(get_stylesheet(), **theme))
@@ -567,7 +567,7 @@ class MeasurementSettings(QWidget):
567
567
  self.chosen_element.setIcon(QIcon())
568
568
  self.chosen_element = None
569
569
  else:
570
- item = cast(MeasurementListWidgetItem, self.profile_options.currentItem())
570
+ item = cast("MeasurementListWidgetItem", self.profile_options.currentItem())
571
571
  leaf = self.get_parameters(
572
572
  deepcopy(item.stat),
573
573
  self.measurement_area_choose.currentEnum(),
@@ -711,7 +711,7 @@ class MeasurementSettings(QWidget):
711
711
  return
712
712
  selected_values = []
713
713
  for i in range(self.profile_options_chosen.count()):
714
- element = cast(MeasurementListWidgetItem, self.profile_options_chosen.item(i))
714
+ element = cast("MeasurementListWidgetItem", self.profile_options_chosen.item(i))
715
715
  selected_values.append(MeasurementEntry(name=element.text(), calculation_tree=element.stat))
716
716
  stat_prof = MeasurementProfile(name=self.profile_name.text(), chosen_fields=selected_values)
717
717
  self.settings.measurement_profiles[stat_prof.name] = stat_prof
@@ -737,7 +737,7 @@ class MeasurementSettings(QWidget):
737
737
  if val_dialog.exec_():
738
738
  selected_values = []
739
739
  for i in range(self.profile_options_chosen.count()):
740
- element = cast(MeasurementListWidgetItem, self.profile_options_chosen.item(i))
740
+ element = cast("MeasurementListWidgetItem", self.profile_options_chosen.item(i))
741
741
  selected_values.append(
742
742
  MeasurementEntry(name=val_dialog.result[element.text()], calculation_tree=element.stat)
743
743
  )
@@ -153,7 +153,7 @@ class ProgressView(QWidget):
153
153
  def task_cancel_remove(self):
154
154
  index = self.task_view.selectionModel().currentIndex()
155
155
  task: CalculationProcessItem = typing.cast(
156
- CalculationProcessItem, self.task_que.item(index.row(), index.column())
156
+ "CalculationProcessItem", self.task_que.item(index.row(), index.column())
157
157
  )
158
158
  if task.is_finished():
159
159
  self.calculation_manager.remove_calculation(task.calculation)
@@ -1141,7 +1141,7 @@ class CalculateInfo(QWidget):
1141
1141
  )
1142
1142
  if not ok:
1143
1143
  return None
1144
- return self._save_roi_profile(typing.cast(ROIExtractionProfile, data.copy(update={"name": text})))
1144
+ return self._save_roi_profile(typing.cast("ROIExtractionProfile", data.copy(update={"name": text})))
1145
1145
  self.settings.roi_profiles[data.name] = data
1146
1146
  return None
1147
1147
 
@@ -1152,7 +1152,7 @@ class CalculateInfo(QWidget):
1152
1152
  )
1153
1153
  if not ok:
1154
1154
  return None
1155
- return self._save_measurement_profile(typing.cast(MeasurementProfile, data.copy(update={"name": text})))
1155
+ return self._save_measurement_profile(typing.cast("MeasurementProfile", data.copy(update={"name": text})))
1156
1156
  self.settings.measurement_profiles[data.name] = data
1157
1157
  return None
1158
1158
 
@@ -311,8 +311,8 @@ class ImportDialog(QDialog):
311
311
  item = self.list_view.topLevelItem(index)
312
312
  if item.checkState(0) == Qt.CheckState.Checked:
313
313
  chk = self.list_view.itemWidget(item, 2)
314
- if chk is not None and typing.cast(QRadioButton, chk).isChecked():
315
- res.append((item.text(0), typing.cast(QLineEdit, self.list_view.itemWidget(item, 3)).text()))
314
+ if chk is not None and typing.cast("QRadioButton", chk).isChecked():
315
+ res.append((item.text(0), typing.cast("QLineEdit", self.list_view.itemWidget(item, 3)).text()))
316
316
  else:
317
317
  name = str(item.text(0))
318
318
  res.append((name, name))
@@ -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 NamedTuple, Optional, Union, cast
6
+ from typing import TYPE_CHECKING, NamedTuple, Optional, Union, cast
7
7
 
8
8
  from pydantic import BaseModel
9
9
  from qtpy.QtCore import QThread, Signal
@@ -12,9 +12,11 @@ from PartSeg._roi_mask.stack_settings import StackSettings, get_mask
12
12
  from PartSegCore.algorithm_describe_base import ROIExtractionProfile
13
13
  from PartSegCore.mask.algorithm_description import MaskAlgorithmSelection
14
14
  from PartSegCore.mask.io_functions import LoadROIImage, LoadStackImage, MaskProjectTuple, SaveROI
15
- from PartSegCore.segmentation import StackAlgorithm
16
15
  from PartSegCore.segmentation.algorithm_base import ROIExtractionAlgorithm
17
16
 
17
+ if TYPE_CHECKING:
18
+ from PartSegCore.segmentation import StackAlgorithm
19
+
18
20
 
19
21
  class BatchTask(NamedTuple):
20
22
  data: Union[str, MaskProjectTuple]
@@ -67,7 +69,7 @@ class BatchProceed(QThread):
67
69
  try:
68
70
  name = os.path.basename(file_path)
69
71
  blank = get_mask(project_tuple.roi_info.roi, project_tuple.mask, project_tuple.selected_components)
70
- algorithm = cast(StackAlgorithm, MaskAlgorithmSelection[task.parameters.algorithm]())
72
+ algorithm = cast("StackAlgorithm", MaskAlgorithmSelection[task.parameters.algorithm]())
71
73
  algorithm.set_image(project_tuple.image)
72
74
  algorithm.set_mask(blank)
73
75
  algorithm.set_parameters(task.parameters.values)
@@ -81,7 +83,7 @@ class BatchProceed(QThread):
81
83
  project_tuple,
82
84
  segmentation.roi_info,
83
85
  (
84
- {i: segmentation.parameters for i in segmentation.roi_info.bound_info}
86
+ dict.fromkeys(segmentation.roi_info.bound_info, segmentation.parameters)
85
87
  if segmentation.roi_info is not None
86
88
  else {}
87
89
  ),
@@ -999,7 +999,7 @@ class MainWindow(BaseMainWindow):
999
999
  file_path=file_path,
1000
1000
  image=image,
1001
1001
  roi_info=roi_info,
1002
- roi_extraction_parameters={i: None for i in roi_info.bound_info},
1002
+ roi_extraction_parameters=dict.fromkeys(roi_info.bound_info),
1003
1003
  )
1004
1004
 
1005
1005
  def set_data(self, data):
@@ -3,6 +3,31 @@ changelog = """
3
3
 
4
4
  All notable changes to this project will be documented in this file.
5
5
 
6
+ ## 0.16.2 - 2025-05-12
7
+
8
+ ### 🧪 Testing
9
+
10
+ - [Automatic] Constraints upgrades: `numpy`, `partsegcore-compiled-backend`, `tifffile` ([#1253](https://github.com/4DNucleome/PartSeg/pull/1253))
11
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipython`, `pydantic`, `sentry-sdk`, `superqt`, `tifffile` ([#1255](https://github.com/4DNucleome/PartSeg/pull/1255))
12
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `numpy`, `packaging`, `pydantic`, `sentry-sdk`, `simpleitk`, `sympy`, `xlsxwriter` ([#1266](https://github.com/4DNucleome/PartSeg/pull/1266))
13
+ - [Automatic] Constraints upgrades: `oiffile`, `psygnal`, `scipy`, `sentry-sdk`, `tifffile` ([#1267](https://github.com/4DNucleome/PartSeg/pull/1267))
14
+
15
+ ### ⚙️ Miscellaneous Tasks
16
+
17
+ - [pre-commit.ci] pre-commit autoupdate ([#1251](https://github.com/4DNucleome/PartSeg/pull/1251))
18
+ - Prepare for napari 0.6.0 deprecations ([#1256](https://github.com/4DNucleome/PartSeg/pull/1256))
19
+ - [pre-commit.ci] pre-commit autoupdate ([#1254](https://github.com/4DNucleome/PartSeg/pull/1254))
20
+ - [pre-commit.ci] pre-commit autoupdate ([#1259](https://github.com/4DNucleome/PartSeg/pull/1259))
21
+ - Update workflow to use Ubuntu 22.04 instead of 20.04 ([#1261](https://github.com/4DNucleome/PartSeg/pull/1261))
22
+ - [pre-commit.ci] pre-commit autoupdate ([#1260](https://github.com/4DNucleome/PartSeg/pull/1260))
23
+ - Try to fix Upgrade dependencies workflow part 2 ([#1265](https://github.com/4DNucleome/PartSeg/pull/1265))
24
+ - [pre-commit.ci] pre-commit autoupdate ([#1268](https://github.com/4DNucleome/PartSeg/pull/1268))
25
+
26
+ ### 🛡️ Security
27
+
28
+ - *(deps)* Bump peter-evans/create-pull-request from 6 to 7 ([#1262](https://github.com/4DNucleome/PartSeg/pull/1262))
29
+ - *(deps)* Bump codecov/codecov-action from 4 to 5 ([#1263](https://github.com/4DNucleome/PartSeg/pull/1263))
30
+
6
31
  ## 0.16.1 - 2025-03-10
7
32
 
8
33
  ### 🐛 Bug Fixes
@@ -291,7 +291,10 @@ class ViewSettings(ImageSettings):
291
291
  """QSS style sheet for current theme."""
292
292
  with warnings.catch_warnings():
293
293
  warnings.simplefilter("ignore", FutureWarning)
294
- theme = get_theme(self.theme_name, as_dict=True)
294
+ if _napari_ge_5:
295
+ theme = get_theme(self.theme_name).to_rgb_dict()
296
+ else:
297
+ theme = get_theme(self.theme_name, as_dict=True)
295
298
  # TODO understand qss overwrite mechanism
296
299
  return napari_template("\n".join(register.qss_list) + get_stylesheet() + "\n".join(register.qss_list), **theme)
297
300
 
@@ -437,7 +437,7 @@ class FormWidget(QWidget):
437
437
  self.widgets_dict[ap.name] = ap
438
438
  ap.change_fun.connect(_any_arguments(self.value_changed.emit))
439
439
  if isinstance(ap.get_field(), SubAlgorithmWidget):
440
- w = typing.cast(SubAlgorithmWidget, ap.get_field())
440
+ w = typing.cast("SubAlgorithmWidget", ap.get_field())
441
441
  layout.addRow(label, w.choose)
442
442
  layout.addRow(ap.get_field())
443
443
  if ap.name in start_values:
@@ -446,11 +446,11 @@ class FormWidget(QWidget):
446
446
  return
447
447
  if isinstance(ap.get_field(), FieldsList):
448
448
  layout.addRow(label)
449
- for el in typing.cast(FieldsList, ap.get_field()).field_list:
449
+ for el in typing.cast("FieldsList", ap.get_field()).field_list:
450
450
  self._add_to_layout(layout, el, start_values.get(ap.name, {}), settings, add_to_widget_dict=False)
451
451
  return
452
452
  if isinstance(ap.get_field(), Widget):
453
- widget = typing.cast(Widget, ap.get_field()).native
453
+ widget = typing.cast("Widget", ap.get_field()).native
454
454
  else:
455
455
  widget = ap.get_field()
456
456
  if ap.is_multiline():
@@ -568,7 +568,7 @@ class SubAlgorithmWidget(QWidget):
568
568
  for i in range(self.layout().count()):
569
569
  el = self.layout().itemAt(i)
570
570
  if el.widget() and isinstance(el.widget(), FormWidget):
571
- typing.cast(FormWidget, el.widget()).image_changed(image)
571
+ typing.cast("FormWidget", el.widget()).image_changed(image)
572
572
 
573
573
  def algorithm_choose(self, name):
574
574
  if name not in self.widgets_dict:
@@ -796,7 +796,7 @@ class AlgorithmChooseBase(QWidget):
796
796
  if algorithms is not None:
797
797
  self.algorithms = algorithms
798
798
  for _ in range(self.stack_layout.count()):
799
- widget = typing.cast(InteractiveAlgorithmSettingsWidget, self.stack_layout.takeAt(0).widget())
799
+ widget = typing.cast("InteractiveAlgorithmSettingsWidget", self.stack_layout.takeAt(0).widget())
800
800
  widget.algorithm_thread.execution_done.disconnect()
801
801
  widget.algorithm_thread.finished.disconnect()
802
802
  widget.algorithm_thread.started.disconnect()
@@ -823,7 +823,7 @@ class AlgorithmChooseBase(QWidget):
823
823
 
824
824
  def change_algorithm(self, name, values: typing.Optional[dict] = None):
825
825
  self.settings.set_algorithm("current_algorithm", name)
826
- widget = typing.cast(InteractiveAlgorithmSettingsWidget, self.stack_layout.currentWidget())
826
+ widget = typing.cast("InteractiveAlgorithmSettingsWidget", self.stack_layout.currentWidget())
827
827
  blocked = self.blockSignals(True)
828
828
  if name != widget.name:
829
829
  widget = self.algorithm_dict[name]
@@ -841,7 +841,7 @@ class AlgorithmChooseBase(QWidget):
841
841
  self.algorithm_changed.emit(name)
842
842
 
843
843
  def current_widget(self) -> InteractiveAlgorithmSettingsWidget:
844
- return typing.cast(InteractiveAlgorithmSettingsWidget, self.stack_layout.currentWidget())
844
+ return typing.cast("InteractiveAlgorithmSettingsWidget", self.stack_layout.currentWidget())
845
845
 
846
846
  def current_parameters(self) -> ROIExtractionProfile:
847
847
  widget = self.current_widget()
@@ -857,7 +857,7 @@ class AlgorithmChoose(AlgorithmChooseBase):
857
857
  self.settings.image_changed.connect(self.image_changed)
858
858
 
859
859
  def image_changed(self):
860
- current_widget = typing.cast(InteractiveAlgorithmSettingsWidget, self.stack_layout.currentWidget())
860
+ current_widget = typing.cast("InteractiveAlgorithmSettingsWidget", self.stack_layout.currentWidget())
861
861
  prev_block = self.blockSignals(True)
862
862
  current_widget.image_changed(self.settings.image)
863
863
  if hasattr(self.settings, "mask") and hasattr(current_widget, "change_mask"):
@@ -98,7 +98,7 @@ class CustomSaveDialog(LoadRegisterFileDialog):
98
98
  return
99
99
  with suppress(ValueError):
100
100
  self.stack_widget.setCurrentIndex(self.names.index(text))
101
- if typing.cast(FormWidget, self.stack_widget.currentWidget()).has_elements():
101
+ if typing.cast("FormWidget", self.stack_widget.currentWidget()).has_elements():
102
102
  self.stack_widget.show()
103
103
  else:
104
104
  self.stack_widget.hide()
@@ -120,7 +120,7 @@ class CustomSaveDialog(LoadRegisterFileDialog):
120
120
  def accept(self):
121
121
  self.accepted_native = True
122
122
  if hasattr(self, "stack_widget"):
123
- self.values = typing.cast(FormWidget, self.stack_widget.currentWidget()).get_values()
123
+ self.values = typing.cast("FormWidget", self.stack_widget.currentWidget()).get_values()
124
124
  super().accept()
125
125
  return
126
126
  save_class = self.io_register[self.selectedNameFilter()]
@@ -49,7 +49,7 @@ def _test_imports(): # pragma: no cover
49
49
  w2 = MaskMain("test")
50
50
  w3 = MainWindow("test")
51
51
  v = napari.Viewer()
52
- console = QtConsole(v)
52
+ console = QtConsole(v, style_sheet="dark")
53
53
  label = LabelChoose(w1.settings)
54
54
  label.refresh()
55
55
  v.close()
@@ -130,9 +130,12 @@ def main(): # pragma: no cover # noqa: PLR0915
130
130
 
131
131
  napari_get_settings(os.path.join(os.path.dirname(state_store.save_folder), "napari"))
132
132
  with suppress(ImportError):
133
- from napari.qt import get_app
133
+ from napari import qt
134
134
 
135
- get_app()
135
+ if hasattr(qt, "get_qapp"):
136
+ qt.get_qapp()
137
+ else:
138
+ qt.get_app()
136
139
 
137
140
  wind = select_window(args)
138
141
 
@@ -158,7 +158,7 @@ class ROIExtractionAlgorithms(QWidget):
158
158
  return self.settings.get_from_profile(f"{self.prefix()}.profiles", {})
159
159
 
160
160
  def save_action(self):
161
- widget = typing.cast(NapariInteractiveAlgorithmSettingsWidget, self.algorithm_chose.current_widget())
161
+ widget = typing.cast("NapariInteractiveAlgorithmSettingsWidget", self.algorithm_chose.current_widget())
162
162
  profiles = self.profile_dict
163
163
  while True:
164
164
  text, ok = QInputDialog.getText(self, "Profile Name", "Input profile name here")
@@ -193,14 +193,14 @@ class ROIExtractionAlgorithms(QWidget):
193
193
  self.mask_name = ""
194
194
 
195
195
  def update_mask(self):
196
- widget = typing.cast(NapariInteractiveAlgorithmSettingsWidget, self.algorithm_chose.current_widget())
196
+ widget = typing.cast("NapariInteractiveAlgorithmSettingsWidget", self.algorithm_chose.current_widget())
197
197
  mask = widget.get_layers().get("mask", None)
198
198
  if getattr(mask, "name", "") != self.mask_name or (widget.mask() is None and mask is not None):
199
199
  widget.set_mask(getattr(mask, "data", None))
200
200
  self.mask_name = getattr(mask, "name", "")
201
201
 
202
202
  def update_image(self):
203
- widget = typing.cast(NapariInteractiveAlgorithmSettingsWidget, self.algorithm_chose.current_widget())
203
+ widget = typing.cast("NapariInteractiveAlgorithmSettingsWidget", self.algorithm_chose.current_widget())
204
204
  self.settings.last_executed_algorithm = widget.name
205
205
  layer_names: list[str] = widget.get_layer_list()
206
206
  if layer_names == self.channel_names:
@@ -213,7 +213,7 @@ class ROIExtractionAlgorithms(QWidget):
213
213
  self.mask_name = ""
214
214
 
215
215
  def _run_calculation(self):
216
- widget = typing.cast(NapariInteractiveAlgorithmSettingsWidget, self.algorithm_chose.current_widget())
216
+ widget = typing.cast("NapariInteractiveAlgorithmSettingsWidget", self.algorithm_chose.current_widget())
217
217
  self.settings.last_executed_algorithm = widget.name
218
218
  self.update_image()
219
219
  self.update_mask()
@@ -1,10 +1,12 @@
1
1
  import warnings
2
2
 
3
+ import napari
3
4
  import numpy as np
4
5
  from magicgui.widgets import Container, HBox, PushButton, SpinBox, create_widget
5
6
  from napari import Viewer
6
7
  from napari.layers import Labels
7
8
  from napari.utils.notifications import show_info
9
+ from packaging.version import parse as parse_version
8
10
  from qtpy.QtCore import QTimer
9
11
  from vispy.geometry import Rect
10
12
 
@@ -13,6 +15,8 @@ from PartSegCore.roi_info import ROIInfo
13
15
 
14
16
  HIGHLIGHT_LABEL_NAME = ".Highlight"
15
17
 
18
+ _napari_ge_5 = parse_version(napari.__version__) >= parse_version("0.5.0a1")
19
+
16
20
 
17
21
  class SearchLabel(Container):
18
22
  def __init__(self, napari_viewer: Viewer):
@@ -106,8 +110,10 @@ class SearchLabel(Container):
106
110
  u_bound = upper_bound[-2:][::-1]
107
111
  with warnings.catch_warnings():
108
112
  warnings.filterwarnings("ignore", "Public access to Window.qt_viewer")
109
- warnings.filterwarnings("ignore", "Access to QtViewer.view is deprecated")
110
- rect = Rect(self.napari_viewer.window.qt_viewer.view.camera.get_state()["rect"])
113
+ if _napari_ge_5:
114
+ rect = Rect(self.napari_viewer.window.qt_viewer.canvas.view.camera.get_state()["rect"])
115
+ else:
116
+ rect = Rect(self.napari_viewer.window.qt_viewer.view.camera.get_state()["rect"])
111
117
  if rect.contains(*l_bound) and rect.contains(*u_bound):
112
118
  return
113
119
  size = u_bound - l_bound
@@ -124,8 +130,10 @@ class SearchLabel(Container):
124
130
  rect.pos = pos
125
131
  with warnings.catch_warnings():
126
132
  warnings.filterwarnings("ignore", "Public access to Window.qt_viewer")
127
- warnings.filterwarnings("ignore", "Access to QtViewer.view is deprecated")
128
- self.napari_viewer.window.qt_viewer.view.camera.set_state({"rect": rect})
133
+ if _napari_ge_5:
134
+ self.napari_viewer.window.qt_viewer.canvas.view.camera.set_state({"rect": rect})
135
+ else:
136
+ self.napari_viewer.window.qt_viewer.view.camera.set_state({"rect": rect})
129
137
 
130
138
  @staticmethod
131
139
  def _data_to_world(layer: Labels, cords):
@@ -148,8 +156,10 @@ class SearchLabel(Container):
148
156
  rect = Rect(pos=(lower_bound - frame)[-2:][::-1], size=(diff + 2 * frame)[-2:][::-1])
149
157
  with warnings.catch_warnings():
150
158
  warnings.filterwarnings("ignore", "Public access to Window.qt_viewer")
151
- warnings.filterwarnings("ignore", "Access to QtViewer.view is deprecated")
152
- self.napari_viewer.window.qt_viewer.view.camera.set_state({"rect": rect})
159
+ if _napari_ge_5:
160
+ self.napari_viewer.window.qt_viewer.canvas.view.camera.set_state({"rect": rect})
161
+ else:
162
+ self.napari_viewer.window.qt_viewer.view.camera.set_state({"rect": rect})
153
163
  self._update_point(lower_bound, upper_bound)
154
164
 
155
165
  def _update_point(self, lower_bound, upper_bound):
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.16.1'
21
- __version_tuple__ = version_tuple = (0, 16, 1)
20
+ __version__ = version = '0.16.2'
21
+ __version_tuple__ = version_tuple = (0, 16, 2)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: PartSeg
3
- Version: 0.16.1
3
+ Version: 0.16.2
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
@@ -113,6 +113,7 @@ Requires-Dist: pytest-qt; extra == "testing"
113
113
  Requires-Dist: lxml; extra == "testing"
114
114
  Dynamic: description
115
115
  Dynamic: description-content-type
116
+ Dynamic: license-file
116
117
 
117
118
  # PartSeg
118
119
 
@@ -150,10 +151,10 @@ This application is designed to help biologist with segmentation based on thresh
150
151
 
151
152
  - From binaries:
152
153
 
153
- - [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.1/PartSeg-0.16.1-windows.zip) (build on Windows 10)
154
- - [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.1/PartSeg-0.16.1-linux.zip) (build on Ubuntu 20.04)
155
- - [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.1/PartSeg-0.16.1-macos.zip) (build on macOS 13)
156
- - [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.1/PartSeg-0.16.1-macos-arm64.zip) (build on macOS 14)
154
+ - [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.2/PartSeg-0.16.2-windows.zip) (build on Windows 10)
155
+ - [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.2/PartSeg-0.16.2-linux.zip) (build on Ubuntu 20.04)
156
+ - [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.2/PartSeg-0.16.2-macos.zip) (build on macOS 13)
157
+ - [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.2/PartSeg-0.16.2-macos-arm64.zip) (build on macOS 14)
157
158
  There are reported problems with permissions systems on macOS. If you have a problem with starting the application, please try to run it from the terminal.
158
159
 
159
160
  - With pip:
@@ -243,6 +244,31 @@ from 3D microscopy images for dummies. BMC Bioinformatics 22, 72 (2021).
243
244
 
244
245
  All notable changes to this project will be documented in this file.
245
246
 
247
+ ### 0.16.2 - 2025-05-12
248
+
249
+ #### 🧪 Testing
250
+
251
+ - [Automatic] Constraints upgrades: `numpy`, `partsegcore-compiled-backend`, `tifffile` ([#1253](https://github.com/4DNucleome/PartSeg/pull/1253))
252
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipython`, `pydantic`, `sentry-sdk`, `superqt`, `tifffile` ([#1255](https://github.com/4DNucleome/PartSeg/pull/1255))
253
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `numpy`, `packaging`, `pydantic`, `sentry-sdk`, `simpleitk`, `sympy`, `xlsxwriter` ([#1266](https://github.com/4DNucleome/PartSeg/pull/1266))
254
+ - [Automatic] Constraints upgrades: `oiffile`, `psygnal`, `scipy`, `sentry-sdk`, `tifffile` ([#1267](https://github.com/4DNucleome/PartSeg/pull/1267))
255
+
256
+ #### ⚙️ Miscellaneous Tasks
257
+
258
+ - [pre-commit.ci] pre-commit autoupdate ([#1251](https://github.com/4DNucleome/PartSeg/pull/1251))
259
+ - Prepare for napari 0.6.0 deprecations ([#1256](https://github.com/4DNucleome/PartSeg/pull/1256))
260
+ - [pre-commit.ci] pre-commit autoupdate ([#1254](https://github.com/4DNucleome/PartSeg/pull/1254))
261
+ - [pre-commit.ci] pre-commit autoupdate ([#1259](https://github.com/4DNucleome/PartSeg/pull/1259))
262
+ - Update workflow to use Ubuntu 22.04 instead of 20.04 ([#1261](https://github.com/4DNucleome/PartSeg/pull/1261))
263
+ - [pre-commit.ci] pre-commit autoupdate ([#1260](https://github.com/4DNucleome/PartSeg/pull/1260))
264
+ - Try to fix Upgrade dependencies workflow part 2 ([#1265](https://github.com/4DNucleome/PartSeg/pull/1265))
265
+ - [pre-commit.ci] pre-commit autoupdate ([#1268](https://github.com/4DNucleome/PartSeg/pull/1268))
266
+
267
+ #### 🛡️ Security
268
+
269
+ - *(deps)* Bump peter-evans/create-pull-request from 6 to 7 ([#1262](https://github.com/4DNucleome/PartSeg/pull/1262))
270
+ - *(deps)* Bump codecov/codecov-action from 4 to 5 ([#1263](https://github.com/4DNucleome/PartSeg/pull/1263))
271
+
246
272
  ### 0.16.1 - 2025-03-10
247
273
 
248
274
  #### 🐛 Bug Fixes
@@ -116,7 +116,7 @@ class _GetDescriptionClass:
116
116
  if klass is None:
117
117
  klass = type(obj)
118
118
 
119
- name = typing.cast(str, self._name)
119
+ name = typing.cast("str", self._name)
120
120
  fields_dkt = {
121
121
  field.name: (
122
122
  Annotated[field.value_type, field.user_name, field.range, field.help_text],
@@ -269,7 +269,7 @@ class Register(dict, typing.Generic[AlgorithmType]):
269
269
 
270
270
  def values(self) -> typing.Iterable[AlgorithmType]:
271
271
  # noinspection PyTypeChecker
272
- return typing.cast(typing.Iterable[AlgorithmType], super().values())
272
+ return typing.cast("typing.Iterable[AlgorithmType]", super().values())
273
273
 
274
274
  def __eq__(self, other):
275
275
  return (
@@ -286,9 +286,9 @@ class Register(dict, typing.Generic[AlgorithmType]):
286
286
  def __getitem__(self, item) -> AlgorithmType:
287
287
  # FIXME add better strategy to get proper class when there is conflict of names
288
288
  try:
289
- return typing.cast(AlgorithmType, super().__getitem__(item))
289
+ return typing.cast("AlgorithmType", super().__getitem__(item))
290
290
  except KeyError:
291
- return typing.cast(AlgorithmType, super().__getitem__(self._old_mapping[item]))
291
+ return typing.cast("AlgorithmType", super().__getitem__(self._old_mapping[item]))
292
292
 
293
293
  def __contains__(self, item):
294
294
  return super().__contains__(item) or item in self._old_mapping
@@ -1499,9 +1499,21 @@ class SplitOnPartPixelBrightnessSum(MeasurementMethodBase):
1499
1499
  return True
1500
1500
 
1501
1501
 
1502
- HARALIC_FEATURES = """AngularSecondMoment Contrast Correlation Variance
1503
- InverseDifferenceMoment SumAverage SumVariance SumEntropy Entropy
1504
- DifferenceVariance DifferenceEntropy InfoMeas1 InfoMeas2""".split()
1502
+ HARALIC_FEATURES = [
1503
+ "AngularSecondMoment",
1504
+ "Contrast",
1505
+ "Correlation",
1506
+ "Variance",
1507
+ "InverseDifferenceMoment",
1508
+ "SumAverage",
1509
+ "SumVariance",
1510
+ "SumEntropy",
1511
+ "Entropy",
1512
+ "DifferenceVariance",
1513
+ "DifferenceEntropy",
1514
+ "InfoMeas1",
1515
+ "InfoMeas2",
1516
+ ]
1505
1517
 
1506
1518
 
1507
1519
  class HaralickEnum(Enum):