PartSeg 0.16.1__tar.gz → 0.16.3__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.3}/PKG-INFO +58 -6
  2. {partseg-0.16.1 → partseg-0.16.3}/changelog.md +51 -0
  3. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_launcher/main_window.py +9 -4
  4. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/advanced_window.py +3 -3
  5. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/batch_window.py +1 -1
  6. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/prepare_plan_widget.py +2 -2
  7. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/profile_export.py +2 -2
  8. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_mask/batch_proceed.py +6 -4
  9. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_mask/main_window.py +1 -1
  10. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/changelog.py +51 -0
  11. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/__init__.py +1 -1
  12. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/base_settings.py +4 -1
  13. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/except_hook.py +2 -2
  14. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/algorithms_description.py +8 -8
  15. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/custom_save_dialog.py +2 -2
  16. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/napari_image_view.py +19 -91
  17. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/qt_console.py +2 -2
  18. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/select_multiple_files.py +1 -1
  19. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/launcher_main.py +6 -3
  20. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/__init__.py +2 -2
  21. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/itk_snap_save/__init__.py +2 -2
  22. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/modeling_save/__init__.py +3 -3
  23. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/lables_control.py +2 -7
  24. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/roi_extraction_algorithms.py +4 -4
  25. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/search_label_widget.py +16 -6
  26. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/old_partseg/__init__.py +3 -3
  27. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/version.py +2 -2
  28. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg.egg-info/PKG-INFO +58 -6
  29. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/algorithm_describe_base.py +7 -7
  30. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/batch_processing/batch_backend.py +2 -2
  31. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/batch_processing/parallel_backend.py +1 -1
  32. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/calculation_plan.py +1 -1
  33. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/measurement_base.py +3 -9
  34. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/measurement_calculation.py +16 -4
  35. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/class_generator.py +2 -4
  36. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/convex_fill.py +2 -2
  37. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/io_utils.py +1 -1
  38. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/universal_const.py +1 -1
  39. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/utils.py +1 -1
  40. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegImage/image_reader.py +1 -1
  41. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegImage/tifffile_fixes.py +1 -1
  42. {partseg-0.16.1 → partseg-0.16.3}/package/tests/conftest.py +3 -1
  43. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_analysis/test_export_batch.py +1 -1
  44. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_common_gui.py +4 -12
  45. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_napari_image_view.py +1 -2
  46. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_napari_widgets.py +4 -7
  47. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_window_import.py +3 -3
  48. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_class_generator.py +3 -6
  49. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_json_hooks.py +1 -2
  50. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_measurements.py +1 -1
  51. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_min_req.py +1 -1
  52. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegImage/test_image.py +1 -1
  53. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegImage/test_image_writer.py +1 -1
  54. {partseg-0.16.1 → partseg-0.16.3}/pyproject.toml +9 -3
  55. {partseg-0.16.1 → partseg-0.16.3}/requirements/constraints_py3.10.txt +73 -68
  56. {partseg-0.16.1 → partseg-0.16.3}/requirements/constraints_py3.10_pydantic_1.txt +67 -65
  57. {partseg-0.16.1 → partseg-0.16.3}/requirements/constraints_py3.11.txt +72 -68
  58. {partseg-0.16.1 → partseg-0.16.3}/requirements/constraints_py3.11_pydantic_1.txt +66 -65
  59. {partseg-0.16.1 → partseg-0.16.3}/requirements/constraints_py3.12.txt +74 -70
  60. {partseg-0.16.1 → partseg-0.16.3}/requirements/constraints_py3.12_docs.txt +61 -58
  61. {partseg-0.16.1 → partseg-0.16.3}/requirements/constraints_py3.12_pydantic_1.txt +68 -67
  62. {partseg-0.16.1 → partseg-0.16.3}/requirements/constraints_py3.9.txt +63 -58
  63. {partseg-0.16.1 → partseg-0.16.3}/requirements/constraints_py3.9_pydantic_1.txt +59 -57
  64. {partseg-0.16.1 → partseg-0.16.3}/requirements/pre_test_problematic_version.txt +1 -0
  65. {partseg-0.16.1 → partseg-0.16.3}/requirements/version_denylist.txt +1 -1
  66. {partseg-0.16.1 → partseg-0.16.3}/.napari/DESCRIPTION.md +0 -0
  67. {partseg-0.16.1 → partseg-0.16.3}/.napari/config.yml +0 -0
  68. {partseg-0.16.1 → partseg-0.16.3}/CITATION.cff +0 -0
  69. {partseg-0.16.1 → partseg-0.16.3}/License.txt +0 -0
  70. {partseg-0.16.1 → partseg-0.16.3}/MANIFEST.in +0 -0
  71. {partseg-0.16.1 → partseg-0.16.3}/Readme.md +0 -0
  72. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/__init__.py +0 -0
  73. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/__main__.py +0 -0
  74. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_launcher/__init__.py +0 -0
  75. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_launcher/check_survey.py +0 -0
  76. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_launcher/check_version.py +0 -0
  77. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/__init__.py +0 -0
  78. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/calculation_pipeline_thread.py +0 -0
  79. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/export_batch.py +0 -0
  80. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/image_view.py +0 -0
  81. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/main_window.py +0 -0
  82. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/measurement_widget.py +0 -0
  83. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_analysis/partseg_settings.py +0 -0
  84. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_mask/__init__.py +0 -0
  85. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_mask/image_view.py +0 -0
  86. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_mask/segmentation_info_dialog.py +0 -0
  87. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_mask/simple_measurements.py +0 -0
  88. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/_roi_mask/stack_settings.py +0 -0
  89. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/abstract_class.py +0 -0
  90. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/base_argparser.py +0 -0
  91. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/load_backup.py +0 -0
  92. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/partially_const_dict.py +0 -0
  93. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/progress_thread.py +0 -0
  94. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/python_syntax_highlight.py +0 -0
  95. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_backend/segmentation_thread.py +0 -0
  96. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/__init__.py +0 -0
  97. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/about_dialog.py +0 -0
  98. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/advanced_tabs.py +0 -0
  99. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/channel_control.py +0 -0
  100. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/collapse_checkbox.py +0 -0
  101. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/colormap_creator.py +0 -0
  102. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/custom_buttons.py +0 -0
  103. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/custom_load_dialog.py +0 -0
  104. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/dict_viewer.py +0 -0
  105. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/equal_column_layout.py +0 -0
  106. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/error_report.py +0 -0
  107. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/exception_hooks.py +0 -0
  108. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/flow_layout.py +0 -0
  109. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/icon_selector.py +0 -0
  110. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/image_adjustment.py +0 -0
  111. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/label_create.py +0 -0
  112. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/lock_checkbox.py +0 -0
  113. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/main_window.py +0 -0
  114. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/mask_widget.py +0 -0
  115. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/multiple_file_widget.py +0 -0
  116. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/napari_viewer_wrap.py +0 -0
  117. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/numpy_qimage.py +0 -0
  118. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/qt_modal.py +0 -0
  119. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/qt_util.py +0 -0
  120. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/searchable_combo_box.py +0 -0
  121. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/searchable_list_widget.py +0 -0
  122. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/show_directory_dialog.py +0 -0
  123. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/stack_image_view.py +0 -0
  124. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/stacked_widget_with_selector.py +0 -0
  125. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/universal_gui_part.py +0 -0
  126. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/common_gui/waiting_dialog.py +0 -0
  127. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/napari.yaml +0 -0
  128. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/modeling_save/save_modeling_data.py +0 -0
  129. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_io/__init__.py +0 -0
  130. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_io/load_image.py +0 -0
  131. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_io/load_mask_project.py +0 -0
  132. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_io/load_masked_image.py +0 -0
  133. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_io/load_roi_project.py +0 -0
  134. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_io/loader.py +0 -0
  135. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_io/save_mask_roi.py +0 -0
  136. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_io/save_tiff_layer.py +0 -0
  137. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/__init__.py +0 -0
  138. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/_settings.py +0 -0
  139. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/algorithm_widgets.py +0 -0
  140. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/colormap_control.py +0 -0
  141. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/copy_labels.py +0 -0
  142. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/mask_create_widget.py +0 -0
  143. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/measurement_widget.py +0 -0
  144. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/metadata_viewer.py +0 -0
  145. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/simple_measurement_widget.py +0 -0
  146. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/napari_widgets/utils.py +0 -0
  147. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/plugins/old_partseg/old_partseg.py +0 -0
  148. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg/state_store.py +0 -0
  149. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg.egg-info/SOURCES.txt +0 -0
  150. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg.egg-info/dependency_links.txt +0 -0
  151. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg.egg-info/entry_points.txt +0 -0
  152. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg.egg-info/requires.txt +0 -0
  153. {partseg-0.16.1 → partseg-0.16.3}/package/PartSeg.egg-info/top_level.txt +0 -0
  154. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/__init__.py +0 -0
  155. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/_old_json_hooks.py +0 -0
  156. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/__init__.py +0 -0
  157. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/algorithm_description.py +0 -0
  158. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/analysis_utils.py +0 -0
  159. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/batch_processing/__init__.py +0 -0
  160. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/calculate_pipeline.py +0 -0
  161. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/io_utils.py +0 -0
  162. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/load_functions.py +0 -0
  163. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/analysis/save_functions.py +0 -0
  164. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/autofit.py +0 -0
  165. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/channel_class.py +0 -0
  166. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/color_image/__init__.py +0 -0
  167. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/color_image/base_colors.py +0 -0
  168. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/color_image/color_data.py +0 -0
  169. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/custom_name_generate.py +0 -0
  170. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/image_operations.py +0 -0
  171. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/image_transforming/__init__.py +0 -0
  172. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/image_transforming/combine_channels.py +0 -0
  173. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/image_transforming/image_projection.py +0 -0
  174. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/image_transforming/interpolate_image.py +0 -0
  175. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/image_transforming/swap_time_stack.py +0 -0
  176. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/image_transforming/transform_base.py +0 -0
  177. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/json_hooks.py +0 -0
  178. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/mask/__init__.py +0 -0
  179. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/mask/algorithm_description.py +0 -0
  180. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/mask/history_utils.py +0 -0
  181. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/mask/io_functions.py +0 -0
  182. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/mask_create.py +0 -0
  183. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/mask_partition_utils.py +0 -0
  184. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/plugins/__init__.py +0 -0
  185. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/project_info.py +0 -0
  186. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/register.py +0 -0
  187. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/roi_info.py +0 -0
  188. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/__init__.py +0 -0
  189. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/algorithm_base.py +0 -0
  190. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/border_smoothing.py +0 -0
  191. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/mu_mid_point.py +0 -0
  192. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/noise_filtering.py +0 -0
  193. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/restartable_segmentation_algorithms.py +0 -0
  194. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/segmentation_algorithm.py +0 -0
  195. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/threshold.py +0 -0
  196. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/utils.py +0 -0
  197. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/segmentation/watershed.py +0 -0
  198. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/sphinx/__init__.py +0 -0
  199. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegCore/sphinx/auto_parameters.py +0 -0
  200. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegImage/__init__.py +0 -0
  201. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegImage/channel_class.py +0 -0
  202. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegImage/image.py +0 -0
  203. {partseg-0.16.1 → partseg-0.16.3}/package/PartSegImage/image_writer.py +0 -0
  204. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/__init__.py +0 -0
  205. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/conftest.py +0 -0
  206. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_analysis/__init__.py +0 -0
  207. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_analysis/test_advanced_window.py +0 -0
  208. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_analysis/test_batch.py +0 -0
  209. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_analysis/test_batch_window.py +0 -0
  210. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_analysis/test_image_view.py +0 -0
  211. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_analysis/test_main_window.py +0 -0
  212. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_analysis/test_profile_export.py +0 -0
  213. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_mask/__init__.py +0 -0
  214. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_mask/test_batch.py +0 -0
  215. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/roi_mask/test_main_window.py +0 -0
  216. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_analysis.py +0 -0
  217. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_base.py +0 -0
  218. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_base_widgets.py +0 -0
  219. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_channel_control.py +0 -0
  220. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_check_release.py +0 -0
  221. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_check_survey.py +0 -0
  222. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_colormap_create.py +0 -0
  223. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_common_backend.py +0 -0
  224. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_io.py +0 -0
  225. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_label_choose.py +0 -0
  226. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_launcher.py +0 -0
  227. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_main_windows.py +0 -0
  228. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_napari_io.py +0 -0
  229. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_roi_analysis_batch.py +0 -0
  230. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_sentry.py +0 -0
  231. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_settings.py +0 -0
  232. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSeg/test_viewer.py +0 -0
  233. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/__init__.py +0 -0
  234. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/segmentation/__init__.py +0 -0
  235. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/segmentation/test_algorithm_base.py +0 -0
  236. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/segmentation/test_segmentation_algorithm.py +0 -0
  237. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/segmentation/test_threshold.py +0 -0
  238. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_algorithm_describe_base.py +0 -0
  239. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_analysis_batch.py +0 -0
  240. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_base.py +0 -0
  241. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_class_register.py +0 -0
  242. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_image_adjustment.py +0 -0
  243. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_io.py +0 -0
  244. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_mask_create.py +0 -0
  245. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_mask_partition.py +0 -0
  246. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_mso.py +0 -0
  247. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_pipeline.py +0 -0
  248. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_segmentation.py +0 -0
  249. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_segmentation_proceses.py +0 -0
  250. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_smooth.py +0 -0
  251. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegCore/test_utils.py +0 -0
  252. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegImage/__init__.py +0 -0
  253. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegImage/test_channel_class.py +0 -0
  254. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_PartSegImage/test_image_reader.py +0 -0
  255. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/calculation_plan_0.9.2.3.json +0 -0
  256. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/measurements_profile.json +0 -0
  257. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/napari_measurements_profile.json +0 -0
  258. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/notebook/neuron_types_measurment.json +0 -0
  259. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/notebook/neuron_types_segmentation.json +0 -0
  260. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/notebook/segment_data.json +0 -0
  261. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.10.4/analysis/batch_plans_save.json +0 -0
  262. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_pipeline_save.json +0 -0
  263. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_profiles_save.json +0 -0
  264. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_settings.json +0 -0
  265. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.10.4/analysis/statistic_profiles_save.json +0 -0
  266. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.10.4/analysis/view_settings.json +0 -0
  267. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.1/analysis/batch_plans_save.json +0 -0
  268. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_pipeline_save.json +0 -0
  269. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_profiles_save.json +0 -0
  270. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_settings.json +0 -0
  271. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.1/analysis/statistic_profiles_save.json +0 -0
  272. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.1/analysis/view_settings.json +0 -0
  273. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.1/mask/segmentation_settings.json +0 -0
  274. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.1/mask/view_settings.json +0 -0
  275. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.14/analysis/batch_plans_save.json +0 -0
  276. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_pipeline_save.json +0 -0
  277. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_profiles_save.json +0 -0
  278. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_settings.json +0 -0
  279. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.14/analysis/statistic_profiles_save.json +0 -0
  280. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.14/analysis/view_settings.json +0 -0
  281. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.14/mask/segmentation_settings.json +0 -0
  282. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.14/mask/view_settings.json +0 -0
  283. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.15/analysis/batch_plans_save.json +0 -0
  284. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_pipeline_save.json +0 -0
  285. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_profiles_save.json +0 -0
  286. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_settings.json +0 -0
  287. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.15/analysis/statistic_profiles_save.json +0 -0
  288. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.15/analysis/view_settings.json +0 -0
  289. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.15/mask/segmentation_settings.json +0 -0
  290. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.13.15/mask/view_settings.json +0 -0
  291. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.8.6/analysis/batch_plans_save.json +0 -0
  292. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_pipeline_save.json +0 -0
  293. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_profiles_save.json +0 -0
  294. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_settings.json +0 -0
  295. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.8.6/analysis/statistic_profiles_save.json +0 -0
  296. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/old_saves/0.8.6/analysis/view_settings.json +0 -0
  297. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/ome.xsd.xml +0 -0
  298. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/problematic_excel_batch.xlsx +0 -0
  299. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/problematic_json_batch.json +0 -0
  300. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/problematic_profile_dict.json +0 -0
  301. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/range_profile.json +0 -0
  302. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/sample_batch_output.xlsx +0 -0
  303. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/segment_profile_0.9.2.3.json +0 -0
  304. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/view_settings_v0.12.6.json +0 -0
  305. {partseg-0.16.1 → partseg-0.16.3}/package/tests/test_data/workflow.json +0 -0
  306. {partseg-0.16.1 → partseg-0.16.3}/requirements/dependabot_runtime.txt +0 -0
  307. {partseg-0.16.1 → partseg-0.16.3}/requirements/pydantic_1.txt +0 -0
  308. {partseg-0.16.1 → partseg-0.16.3}/requirements/requirements_ci.txt +0 -0
  309. {partseg-0.16.1 → partseg-0.16.3}/requirements/requirements_dev.txt +0 -0
  310. {partseg-0.16.1 → partseg-0.16.3}/requirements/requirements_test.txt +0 -0
  311. {partseg-0.16.1 → partseg-0.16.3}/setup.cfg +0 -0
  312. {partseg-0.16.1 → partseg-0.16.3}/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.3
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.3/PartSeg-0.16.3-windows.zip) (build on Windows 10)
155
+ - [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.3/PartSeg-0.16.3-linux.zip) (build on Ubuntu 20.04)
156
+ - [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.3/PartSeg-0.16.3-macos.zip) (build on macOS 13)
157
+ - [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.3/PartSeg-0.16.3-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,57 @@ 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.3 - 2025-07-10
248
+
249
+ #### 🐛 Bug Fixes
250
+
251
+ - Do not use default parameters in default leaf ([#1283](https://github.com/4DNucleome/PartSeg/pull/1283))
252
+
253
+ #### 🧪 Testing
254
+
255
+ - [Automatic] Constraints upgrades: `napari`, `numpy`, `pydantic`, `sentry-sdk`, `tifffile`, `vispy` ([#1273](https://github.com/4DNucleome/PartSeg/pull/1273))
256
+ - [Automatic] Constraints upgrades: `h5py`, `ipython`, `magicgui`, `numpy`, `pandas`, `pydantic`, `requests`, `sentry-sdk`, `superqt`, `tifffile`, `xlrd` ([#1276](https://github.com/4DNucleome/PartSeg/pull/1276))
257
+ - [Automatic] Constraints upgrades: `numpy`, `pygments`, `scipy`, `simpleitk`, `superqt`, `xlsxwriter` ([#1278](https://github.com/4DNucleome/PartSeg/pull/1278))
258
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `partsegcore-compiled-backend`, `psygnal`, `sentry-sdk` ([#1281](https://github.com/4DNucleome/PartSeg/pull/1281))
259
+
260
+ #### ⚙️ Miscellaneous Tasks
261
+
262
+ - Block `sentry==3.0.0a1` for pre-tests ([#1272](https://github.com/4DNucleome/PartSeg/pull/1272))
263
+ - Add fallback version for `setuptools_scm` ([#1271](https://github.com/4DNucleome/PartSeg/pull/1271))
264
+ - [pre-commit.ci] pre-commit autoupdate ([#1270](https://github.com/4DNucleome/PartSeg/pull/1270))
265
+ - Use ubuntu 22.04 when building pyinstaller bundle ([#1275](https://github.com/4DNucleome/PartSeg/pull/1275))
266
+ - [pre-commit.ci] pre-commit autoupdate ([#1274](https://github.com/4DNucleome/PartSeg/pull/1274))
267
+ - [pre-commit.ci] pre-commit autoupdate ([#1277](https://github.com/4DNucleome/PartSeg/pull/1277))
268
+ - Block sentry alpha 3.0.0a1 and 3.0.0a2 ([#1279](https://github.com/4DNucleome/PartSeg/pull/1279))
269
+ - Block `pytest-qt==4.5.0` (for `pyside2` compatibility) ([#1282](https://github.com/4DNucleome/PartSeg/pull/1282))
270
+ - [pre-commit.ci] pre-commit autoupdate ([#1280](https://github.com/4DNucleome/PartSeg/pull/1280))
271
+ - Migrate Windows images from 2019 to 2022 in Azure Pipelines and GitHub Actions ([#1284](https://github.com/4DNucleome/PartSeg/pull/1284))
272
+
273
+ ### 0.16.2 - 2025-05-12
274
+
275
+ #### 🧪 Testing
276
+
277
+ - [Automatic] Constraints upgrades: `numpy`, `partsegcore-compiled-backend`, `tifffile` ([#1253](https://github.com/4DNucleome/PartSeg/pull/1253))
278
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipython`, `pydantic`, `sentry-sdk`, `superqt`, `tifffile` ([#1255](https://github.com/4DNucleome/PartSeg/pull/1255))
279
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `numpy`, `packaging`, `pydantic`, `sentry-sdk`, `simpleitk`, `sympy`, `xlsxwriter` ([#1266](https://github.com/4DNucleome/PartSeg/pull/1266))
280
+ - [Automatic] Constraints upgrades: `oiffile`, `psygnal`, `scipy`, `sentry-sdk`, `tifffile` ([#1267](https://github.com/4DNucleome/PartSeg/pull/1267))
281
+
282
+ #### ⚙️ Miscellaneous Tasks
283
+
284
+ - [pre-commit.ci] pre-commit autoupdate ([#1251](https://github.com/4DNucleome/PartSeg/pull/1251))
285
+ - Prepare for napari 0.6.0 deprecations ([#1256](https://github.com/4DNucleome/PartSeg/pull/1256))
286
+ - [pre-commit.ci] pre-commit autoupdate ([#1254](https://github.com/4DNucleome/PartSeg/pull/1254))
287
+ - [pre-commit.ci] pre-commit autoupdate ([#1259](https://github.com/4DNucleome/PartSeg/pull/1259))
288
+ - Update workflow to use Ubuntu 22.04 instead of 20.04 ([#1261](https://github.com/4DNucleome/PartSeg/pull/1261))
289
+ - [pre-commit.ci] pre-commit autoupdate ([#1260](https://github.com/4DNucleome/PartSeg/pull/1260))
290
+ - Try to fix Upgrade dependencies workflow part 2 ([#1265](https://github.com/4DNucleome/PartSeg/pull/1265))
291
+ - [pre-commit.ci] pre-commit autoupdate ([#1268](https://github.com/4DNucleome/PartSeg/pull/1268))
292
+
293
+ #### 🛡️ Security
294
+
295
+ - *(deps)* Bump peter-evans/create-pull-request from 6 to 7 ([#1262](https://github.com/4DNucleome/PartSeg/pull/1262))
296
+ - *(deps)* Bump codecov/codecov-action from 4 to 5 ([#1263](https://github.com/4DNucleome/PartSeg/pull/1263))
297
+
246
298
  ### 0.16.1 - 2025-03-10
247
299
 
248
300
  #### 🐛 Bug Fixes
@@ -2,6 +2,57 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 0.16.3 - 2025-07-10
6
+
7
+ ### 🐛 Bug Fixes
8
+
9
+ - Do not use default parameters in default leaf ([#1283](https://github.com/4DNucleome/PartSeg/pull/1283))
10
+
11
+ ### 🧪 Testing
12
+
13
+ - [Automatic] Constraints upgrades: `napari`, `numpy`, `pydantic`, `sentry-sdk`, `tifffile`, `vispy` ([#1273](https://github.com/4DNucleome/PartSeg/pull/1273))
14
+ - [Automatic] Constraints upgrades: `h5py`, `ipython`, `magicgui`, `numpy`, `pandas`, `pydantic`, `requests`, `sentry-sdk`, `superqt`, `tifffile`, `xlrd` ([#1276](https://github.com/4DNucleome/PartSeg/pull/1276))
15
+ - [Automatic] Constraints upgrades: `numpy`, `pygments`, `scipy`, `simpleitk`, `superqt`, `xlsxwriter` ([#1278](https://github.com/4DNucleome/PartSeg/pull/1278))
16
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `partsegcore-compiled-backend`, `psygnal`, `sentry-sdk` ([#1281](https://github.com/4DNucleome/PartSeg/pull/1281))
17
+
18
+ ### ⚙️ Miscellaneous Tasks
19
+
20
+ - Block `sentry==3.0.0a1` for pre-tests ([#1272](https://github.com/4DNucleome/PartSeg/pull/1272))
21
+ - Add fallback version for `setuptools_scm` ([#1271](https://github.com/4DNucleome/PartSeg/pull/1271))
22
+ - [pre-commit.ci] pre-commit autoupdate ([#1270](https://github.com/4DNucleome/PartSeg/pull/1270))
23
+ - Use ubuntu 22.04 when building pyinstaller bundle ([#1275](https://github.com/4DNucleome/PartSeg/pull/1275))
24
+ - [pre-commit.ci] pre-commit autoupdate ([#1274](https://github.com/4DNucleome/PartSeg/pull/1274))
25
+ - [pre-commit.ci] pre-commit autoupdate ([#1277](https://github.com/4DNucleome/PartSeg/pull/1277))
26
+ - Block sentry alpha 3.0.0a1 and 3.0.0a2 ([#1279](https://github.com/4DNucleome/PartSeg/pull/1279))
27
+ - Block `pytest-qt==4.5.0` (for `pyside2` compatibility) ([#1282](https://github.com/4DNucleome/PartSeg/pull/1282))
28
+ - [pre-commit.ci] pre-commit autoupdate ([#1280](https://github.com/4DNucleome/PartSeg/pull/1280))
29
+ - Migrate Windows images from 2019 to 2022 in Azure Pipelines and GitHub Actions ([#1284](https://github.com/4DNucleome/PartSeg/pull/1284))
30
+
31
+ ## 0.16.2 - 2025-05-12
32
+
33
+ ### 🧪 Testing
34
+
35
+ - [Automatic] Constraints upgrades: `numpy`, `partsegcore-compiled-backend`, `tifffile` ([#1253](https://github.com/4DNucleome/PartSeg/pull/1253))
36
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipython`, `pydantic`, `sentry-sdk`, `superqt`, `tifffile` ([#1255](https://github.com/4DNucleome/PartSeg/pull/1255))
37
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `numpy`, `packaging`, `pydantic`, `sentry-sdk`, `simpleitk`, `sympy`, `xlsxwriter` ([#1266](https://github.com/4DNucleome/PartSeg/pull/1266))
38
+ - [Automatic] Constraints upgrades: `oiffile`, `psygnal`, `scipy`, `sentry-sdk`, `tifffile` ([#1267](https://github.com/4DNucleome/PartSeg/pull/1267))
39
+
40
+ ### ⚙️ Miscellaneous Tasks
41
+
42
+ - [pre-commit.ci] pre-commit autoupdate ([#1251](https://github.com/4DNucleome/PartSeg/pull/1251))
43
+ - Prepare for napari 0.6.0 deprecations ([#1256](https://github.com/4DNucleome/PartSeg/pull/1256))
44
+ - [pre-commit.ci] pre-commit autoupdate ([#1254](https://github.com/4DNucleome/PartSeg/pull/1254))
45
+ - [pre-commit.ci] pre-commit autoupdate ([#1259](https://github.com/4DNucleome/PartSeg/pull/1259))
46
+ - Update workflow to use Ubuntu 22.04 instead of 20.04 ([#1261](https://github.com/4DNucleome/PartSeg/pull/1261))
47
+ - [pre-commit.ci] pre-commit autoupdate ([#1260](https://github.com/4DNucleome/PartSeg/pull/1260))
48
+ - Try to fix Upgrade dependencies workflow part 2 ([#1265](https://github.com/4DNucleome/PartSeg/pull/1265))
49
+ - [pre-commit.ci] pre-commit autoupdate ([#1268](https://github.com/4DNucleome/PartSeg/pull/1268))
50
+
51
+ ### 🛡️ Security
52
+
53
+ - *(deps)* Bump peter-evans/create-pull-request from 6 to 7 ([#1262](https://github.com/4DNucleome/PartSeg/pull/1262))
54
+ - *(deps)* Bump codecov/codecov-action from 4 to 5 ([#1263](https://github.com/4DNucleome/PartSeg/pull/1263))
55
+
5
56
  ## 0.16.1 - 2025-03-10
6
57
 
7
58
  ### 🐛 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__()
@@ -30,7 +34,7 @@ class Prepare(QThread):
30
34
  if not self.module: # pragma: no cover
31
35
  return
32
36
 
33
- from PartSeg import plugins
37
+ from PartSeg import plugins # noqa: PLC0415
34
38
 
35
39
  plugins.register()
36
40
  main_window_module = importlib.import_module(self.module)
@@ -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,57 @@ changelog = """
3
3
 
4
4
  All notable changes to this project will be documented in this file.
5
5
 
6
+ ## 0.16.3 - 2025-07-10
7
+
8
+ ### 🐛 Bug Fixes
9
+
10
+ - Do not use default parameters in default leaf ([#1283](https://github.com/4DNucleome/PartSeg/pull/1283))
11
+
12
+ ### 🧪 Testing
13
+
14
+ - [Automatic] Constraints upgrades: `napari`, `numpy`, `pydantic`, `sentry-sdk`, `tifffile`, `vispy` ([#1273](https://github.com/4DNucleome/PartSeg/pull/1273))
15
+ - [Automatic] Constraints upgrades: `h5py`, `ipython`, `magicgui`, `numpy`, `pandas`, `pydantic`, `requests`, `sentry-sdk`, `superqt`, `tifffile`, `xlrd` ([#1276](https://github.com/4DNucleome/PartSeg/pull/1276))
16
+ - [Automatic] Constraints upgrades: `numpy`, `pygments`, `scipy`, `simpleitk`, `superqt`, `xlsxwriter` ([#1278](https://github.com/4DNucleome/PartSeg/pull/1278))
17
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `partsegcore-compiled-backend`, `psygnal`, `sentry-sdk` ([#1281](https://github.com/4DNucleome/PartSeg/pull/1281))
18
+
19
+ ### ⚙️ Miscellaneous Tasks
20
+
21
+ - Block `sentry==3.0.0a1` for pre-tests ([#1272](https://github.com/4DNucleome/PartSeg/pull/1272))
22
+ - Add fallback version for `setuptools_scm` ([#1271](https://github.com/4DNucleome/PartSeg/pull/1271))
23
+ - [pre-commit.ci] pre-commit autoupdate ([#1270](https://github.com/4DNucleome/PartSeg/pull/1270))
24
+ - Use ubuntu 22.04 when building pyinstaller bundle ([#1275](https://github.com/4DNucleome/PartSeg/pull/1275))
25
+ - [pre-commit.ci] pre-commit autoupdate ([#1274](https://github.com/4DNucleome/PartSeg/pull/1274))
26
+ - [pre-commit.ci] pre-commit autoupdate ([#1277](https://github.com/4DNucleome/PartSeg/pull/1277))
27
+ - Block sentry alpha 3.0.0a1 and 3.0.0a2 ([#1279](https://github.com/4DNucleome/PartSeg/pull/1279))
28
+ - Block `pytest-qt==4.5.0` (for `pyside2` compatibility) ([#1282](https://github.com/4DNucleome/PartSeg/pull/1282))
29
+ - [pre-commit.ci] pre-commit autoupdate ([#1280](https://github.com/4DNucleome/PartSeg/pull/1280))
30
+ - Migrate Windows images from 2019 to 2022 in Azure Pipelines and GitHub Actions ([#1284](https://github.com/4DNucleome/PartSeg/pull/1284))
31
+
32
+ ## 0.16.2 - 2025-05-12
33
+
34
+ ### 🧪 Testing
35
+
36
+ - [Automatic] Constraints upgrades: `numpy`, `partsegcore-compiled-backend`, `tifffile` ([#1253](https://github.com/4DNucleome/PartSeg/pull/1253))
37
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipython`, `pydantic`, `sentry-sdk`, `superqt`, `tifffile` ([#1255](https://github.com/4DNucleome/PartSeg/pull/1255))
38
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `numpy`, `packaging`, `pydantic`, `sentry-sdk`, `simpleitk`, `sympy`, `xlsxwriter` ([#1266](https://github.com/4DNucleome/PartSeg/pull/1266))
39
+ - [Automatic] Constraints upgrades: `oiffile`, `psygnal`, `scipy`, `sentry-sdk`, `tifffile` ([#1267](https://github.com/4DNucleome/PartSeg/pull/1267))
40
+
41
+ ### ⚙️ Miscellaneous Tasks
42
+
43
+ - [pre-commit.ci] pre-commit autoupdate ([#1251](https://github.com/4DNucleome/PartSeg/pull/1251))
44
+ - Prepare for napari 0.6.0 deprecations ([#1256](https://github.com/4DNucleome/PartSeg/pull/1256))
45
+ - [pre-commit.ci] pre-commit autoupdate ([#1254](https://github.com/4DNucleome/PartSeg/pull/1254))
46
+ - [pre-commit.ci] pre-commit autoupdate ([#1259](https://github.com/4DNucleome/PartSeg/pull/1259))
47
+ - Update workflow to use Ubuntu 22.04 instead of 20.04 ([#1261](https://github.com/4DNucleome/PartSeg/pull/1261))
48
+ - [pre-commit.ci] pre-commit autoupdate ([#1260](https://github.com/4DNucleome/PartSeg/pull/1260))
49
+ - Try to fix Upgrade dependencies workflow part 2 ([#1265](https://github.com/4DNucleome/PartSeg/pull/1265))
50
+ - [pre-commit.ci] pre-commit autoupdate ([#1268](https://github.com/4DNucleome/PartSeg/pull/1268))
51
+
52
+ ### 🛡️ Security
53
+
54
+ - *(deps)* Bump peter-evans/create-pull-request from 6 to 7 ([#1262](https://github.com/4DNucleome/PartSeg/pull/1262))
55
+ - *(deps)* Bump codecov/codecov-action from 4 to 5 ([#1263](https://github.com/4DNucleome/PartSeg/pull/1263))
56
+
6
57
  ## 0.16.1 - 2025-03-10
7
58
 
8
59
  ### 🐛 Bug Fixes
@@ -11,7 +11,7 @@ if TYPE_CHECKING: # pragma: no cover
11
11
 
12
12
 
13
13
  def napari_get_settings(path=None) -> "NapariSettings":
14
- from napari.settings import get_settings as _napari_get_settings
14
+ from napari.settings import get_settings as _napari_get_settings # noqa: PLC0415
15
15
 
16
16
  if path is not None:
17
17
  path = os.path.join(path, "settings.yaml")
@@ -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
 
@@ -56,7 +56,7 @@ def show_error(error=None):
56
56
  if error is None:
57
57
  return
58
58
 
59
- from PartSeg.common_gui.error_report import ErrorDialog, QMessageFromException
59
+ from PartSeg.common_gui.error_report import ErrorDialog, QMessageFromException # noqa: PLC0415
60
60
 
61
61
  if isinstance(error, TiffFileException):
62
62
  QMessageFromException.critical(
@@ -87,7 +87,7 @@ def show_warning(header=None, text=None, exception=None):
87
87
  This function is to ensure creation warning dialog in main thread.
88
88
  """
89
89
  if exception is not None:
90
- from PartSeg.common_gui.error_report import QMessageFromException
90
+ from PartSeg.common_gui.error_report import QMessageFromException # noqa: PLC0415
91
91
 
92
92
  message = QMessageFromException(QMessageBox.Icon.Warning, header, text, exception=exception)
93
93
  else:
@@ -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()]