PartSeg 0.16.5__tar.gz → 0.17.0rc1__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 (318) hide show
  1. {partseg-0.16.5 → partseg-0.17.0rc1}/PKG-INFO +25 -26
  2. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/advanced_window.py +13 -13
  3. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/batch_window.py +3 -3
  4. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/calculation_pipeline_thread.py +9 -4
  5. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/export_batch.py +2 -3
  6. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/image_view.py +1 -2
  7. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/measurement_widget.py +1 -1
  8. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/partseg_settings.py +1 -1
  9. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/prepare_plan_widget.py +9 -9
  10. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/profile_export.py +2 -2
  11. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_mask/batch_proceed.py +4 -4
  12. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_mask/main_window.py +3 -4
  13. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_mask/segmentation_info_dialog.py +2 -2
  14. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_mask/stack_settings.py +4 -6
  15. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/base_argparser.py +7 -7
  16. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/base_settings.py +21 -21
  17. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/load_backup.py +5 -9
  18. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/partially_const_dict.py +2 -2
  19. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/progress_thread.py +8 -2
  20. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/advanced_tabs.py +1 -1
  21. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/algorithms_description.py +14 -13
  22. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/channel_control.py +7 -7
  23. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/collapse_checkbox.py +6 -2
  24. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/colormap_creator.py +8 -9
  25. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/custom_load_dialog.py +7 -7
  26. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/custom_save_dialog.py +5 -5
  27. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/error_report.py +11 -20
  28. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/image_adjustment.py +2 -2
  29. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/label_create.py +13 -9
  30. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/main_window.py +9 -8
  31. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/mask_widget.py +1 -2
  32. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/napari_image_view.py +29 -39
  33. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/napari_viewer_wrap.py +1 -2
  34. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/stack_image_view.py +7 -2
  35. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/universal_gui_part.py +5 -5
  36. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/itk_snap_save/__init__.py +5 -2
  37. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/modeling_save/save_modeling_data.py +5 -4
  38. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_io/loader.py +6 -17
  39. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_io/save_mask_roi.py +2 -2
  40. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_io/save_tiff_layer.py +2 -2
  41. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/_settings.py +4 -3
  42. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/algorithm_widgets.py +2 -3
  43. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/colormap_control.py +1 -2
  44. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/lables_control.py +0 -4
  45. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/mask_create_widget.py +1 -2
  46. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/measurement_widget.py +2 -2
  47. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/simple_measurement_widget.py +2 -3
  48. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/utils.py +2 -2
  49. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/old_partseg/old_partseg.py +6 -6
  50. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/state_store.py +2 -2
  51. partseg-0.17.0rc1/package/PartSeg/version.py +24 -0
  52. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg.egg-info/PKG-INFO +25 -26
  53. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg.egg-info/SOURCES.txt +1 -6
  54. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg.egg-info/requires.txt +20 -20
  55. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/_old_json_hooks.py +1 -1
  56. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/algorithm_describe_base.py +15 -14
  57. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/batch_processing/batch_backend.py +5 -5
  58. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/batch_processing/parallel_backend.py +2 -1
  59. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/calculate_pipeline.py +2 -2
  60. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/calculation_plan.py +15 -6
  61. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/io_utils.py +2 -2
  62. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/load_functions.py +33 -33
  63. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/measurement_base.py +8 -8
  64. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/measurement_calculation.py +22 -23
  65. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/save_functions.py +14 -15
  66. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/autofit.py +14 -11
  67. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/class_generator.py +1 -1
  68. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/color_image/base_colors.py +7 -6
  69. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/convex_fill.py +1 -1
  70. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/image_operations.py +1 -2
  71. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/image_transforming/combine_channels.py +7 -6
  72. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/image_transforming/image_projection.py +3 -3
  73. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/image_transforming/interpolate_image.py +9 -7
  74. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/image_transforming/swap_time_stack.py +3 -3
  75. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/image_transforming/transform_base.py +4 -4
  76. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/io_utils.py +31 -31
  77. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/mask/io_functions.py +43 -45
  78. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/mask_create.py +9 -9
  79. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/mask_partition_utils.py +2 -4
  80. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/plugins/__init__.py +0 -7
  81. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/project_info.py +7 -7
  82. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/roi_info.py +7 -7
  83. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/algorithm_base.py +9 -9
  84. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/restartable_segmentation_algorithms.py +8 -10
  85. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/segmentation_algorithm.py +2 -2
  86. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/threshold.py +8 -12
  87. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/watershed.py +2 -1
  88. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/utils.py +9 -4
  89. partseg-0.17.0rc1/package/PartSegImage/channel_class.py +87 -0
  90. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegImage/image.py +13 -15
  91. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegImage/image_reader.py +23 -19
  92. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegImage/image_writer.py +7 -7
  93. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_colormap_create.py +2 -0
  94. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_common_backend.py +5 -6
  95. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_common_gui.py +12 -2
  96. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_napari_image_view.py +4 -20
  97. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_napari_io.py +0 -5
  98. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_napari_widgets.py +6 -19
  99. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_roi_analysis_batch.py +2 -2
  100. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_sentry.py +14 -44
  101. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_viewer.py +1 -3
  102. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_algorithm_describe_base.py +6 -7
  103. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_analysis_batch.py +4 -4
  104. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_class_generator.py +7 -7
  105. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_mask_create.py +5 -2
  106. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_measurements.py +1 -1
  107. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_segmentation.py +1 -2
  108. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegImage/test_channel_class.py +6 -7
  109. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegImage/test_image.py +4 -4
  110. {partseg-0.16.5 → partseg-0.17.0rc1}/pyproject.toml +27 -24
  111. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/constraints_py3.10.txt +54 -56
  112. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/constraints_py3.11.txt +57 -59
  113. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/constraints_py3.12.txt +59 -61
  114. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/constraints_py3.12_docs.txt +60 -64
  115. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/constraints_py3.13.txt +59 -61
  116. partseg-0.17.0rc1/requirements/constraints_py3.14.txt +0 -0
  117. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/pre_test_problematic_version.txt +1 -0
  118. partseg-0.16.5/package/PartSeg/version.py +0 -34
  119. partseg-0.16.5/package/PartSegImage/channel_class.py +0 -85
  120. partseg-0.16.5/requirements/constraints_py3.10_pydantic_1.txt +0 -517
  121. partseg-0.16.5/requirements/constraints_py3.11_pydantic_1.txt +0 -502
  122. partseg-0.16.5/requirements/constraints_py3.12_pydantic_1.txt +0 -498
  123. partseg-0.16.5/requirements/constraints_py3.13_pydantic_1.txt +0 -497
  124. partseg-0.16.5/requirements/constraints_py3.9.txt +0 -528
  125. partseg-0.16.5/requirements/constraints_py3.9_pydantic_1.txt +0 -521
  126. {partseg-0.16.5 → partseg-0.17.0rc1}/.napari/DESCRIPTION.md +0 -0
  127. {partseg-0.16.5 → partseg-0.17.0rc1}/.napari/config.yml +0 -0
  128. {partseg-0.16.5 → partseg-0.17.0rc1}/CITATION.cff +0 -0
  129. {partseg-0.16.5 → partseg-0.17.0rc1}/License.txt +0 -0
  130. {partseg-0.16.5 → partseg-0.17.0rc1}/MANIFEST.in +0 -0
  131. {partseg-0.16.5 → partseg-0.17.0rc1}/Readme.md +0 -0
  132. {partseg-0.16.5 → partseg-0.17.0rc1}/changelog.md +0 -0
  133. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/__init__.py +0 -0
  134. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/__main__.py +0 -0
  135. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_launcher/__init__.py +0 -0
  136. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_launcher/check_survey.py +0 -0
  137. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_launcher/check_version.py +0 -0
  138. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_launcher/main_window.py +0 -0
  139. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/__init__.py +0 -0
  140. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_analysis/main_window.py +0 -0
  141. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_mask/__init__.py +0 -0
  142. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_mask/image_view.py +0 -0
  143. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/_roi_mask/simple_measurements.py +0 -0
  144. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/changelog.py +0 -0
  145. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/__init__.py +0 -0
  146. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/abstract_class.py +0 -0
  147. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/except_hook.py +0 -0
  148. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/python_syntax_highlight.py +0 -0
  149. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_backend/segmentation_thread.py +0 -0
  150. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/__init__.py +0 -0
  151. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/about_dialog.py +0 -0
  152. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/custom_buttons.py +0 -0
  153. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/dict_viewer.py +0 -0
  154. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/equal_column_layout.py +0 -0
  155. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/exception_hooks.py +0 -0
  156. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/flow_layout.py +0 -0
  157. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/icon_selector.py +0 -0
  158. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/lock_checkbox.py +0 -0
  159. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/multiple_file_widget.py +0 -0
  160. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/numpy_qimage.py +0 -0
  161. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/qt_console.py +0 -0
  162. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/qt_modal.py +0 -0
  163. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/qt_util.py +0 -0
  164. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/searchable_combo_box.py +0 -0
  165. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/searchable_list_widget.py +0 -0
  166. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/select_multiple_files.py +0 -0
  167. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/show_directory_dialog.py +0 -0
  168. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/stacked_widget_with_selector.py +0 -0
  169. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/common_gui/waiting_dialog.py +0 -0
  170. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/launcher_main.py +0 -0
  171. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/napari.yaml +0 -0
  172. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/__init__.py +0 -0
  173. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/modeling_save/__init__.py +0 -0
  174. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_io/__init__.py +0 -0
  175. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_io/load_image.py +0 -0
  176. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_io/load_mask_project.py +0 -0
  177. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_io/load_masked_image.py +0 -0
  178. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_io/load_roi_project.py +0 -0
  179. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/__init__.py +0 -0
  180. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/copy_labels.py +0 -0
  181. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/metadata_viewer.py +0 -0
  182. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/roi_extraction_algorithms.py +0 -0
  183. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/napari_widgets/search_label_widget.py +0 -0
  184. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg/plugins/old_partseg/__init__.py +0 -0
  185. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg.egg-info/dependency_links.txt +0 -0
  186. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg.egg-info/entry_points.txt +0 -0
  187. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSeg.egg-info/top_level.txt +0 -0
  188. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/__init__.py +0 -0
  189. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/__init__.py +0 -0
  190. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/algorithm_description.py +0 -0
  191. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/analysis_utils.py +0 -0
  192. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/analysis/batch_processing/__init__.py +0 -0
  193. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/channel_class.py +0 -0
  194. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/color_image/__init__.py +0 -0
  195. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/color_image/color_data.py +0 -0
  196. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/custom_name_generate.py +0 -0
  197. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/image_transforming/__init__.py +0 -0
  198. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/json_hooks.py +0 -0
  199. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/mask/__init__.py +0 -0
  200. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/mask/algorithm_description.py +0 -0
  201. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/mask/history_utils.py +0 -0
  202. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/register.py +0 -0
  203. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/__init__.py +0 -0
  204. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/border_smoothing.py +0 -0
  205. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/mu_mid_point.py +0 -0
  206. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/noise_filtering.py +0 -0
  207. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/segmentation/utils.py +0 -0
  208. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/sphinx/__init__.py +0 -0
  209. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/sphinx/auto_parameters.py +0 -0
  210. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegCore/universal_const.py +0 -0
  211. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegImage/__init__.py +0 -0
  212. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegImage/czifile_fixes.py +0 -0
  213. {partseg-0.16.5 → partseg-0.17.0rc1}/package/PartSegImage/tifffile_fixes.py +0 -0
  214. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/conftest.py +0 -0
  215. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/__init__.py +0 -0
  216. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/conftest.py +0 -0
  217. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_analysis/__init__.py +0 -0
  218. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_analysis/test_advanced_window.py +0 -0
  219. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_analysis/test_batch.py +0 -0
  220. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_analysis/test_batch_window.py +0 -0
  221. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_analysis/test_export_batch.py +0 -0
  222. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_analysis/test_image_view.py +0 -0
  223. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_analysis/test_main_window.py +0 -0
  224. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_analysis/test_profile_export.py +0 -0
  225. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_mask/__init__.py +0 -0
  226. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_mask/test_batch.py +0 -0
  227. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/roi_mask/test_main_window.py +0 -0
  228. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_analysis.py +0 -0
  229. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_base.py +0 -0
  230. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_base_widgets.py +0 -0
  231. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_channel_control.py +0 -0
  232. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_check_release.py +0 -0
  233. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_check_survey.py +0 -0
  234. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_io.py +0 -0
  235. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_label_choose.py +0 -0
  236. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_launcher.py +0 -0
  237. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_main_windows.py +0 -0
  238. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_settings.py +0 -0
  239. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSeg/test_window_import.py +0 -0
  240. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/__init__.py +0 -0
  241. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/segmentation/__init__.py +0 -0
  242. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/segmentation/test_algorithm_base.py +0 -0
  243. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/segmentation/test_segmentation_algorithm.py +0 -0
  244. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/segmentation/test_threshold.py +0 -0
  245. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_base.py +0 -0
  246. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_class_register.py +0 -0
  247. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_image_adjustment.py +0 -0
  248. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_io.py +0 -0
  249. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_json_hooks.py +0 -0
  250. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_mask_partition.py +0 -0
  251. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_min_req.py +0 -0
  252. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_mso.py +0 -0
  253. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_pipeline.py +0 -0
  254. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_segmentation_proceses.py +0 -0
  255. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_smooth.py +0 -0
  256. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegCore/test_utils.py +0 -0
  257. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegImage/__init__.py +0 -0
  258. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegImage/test_image_reader.py +0 -0
  259. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_PartSegImage/test_image_writer.py +0 -0
  260. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/calculation_plan_0.9.2.3.json +0 -0
  261. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/measurements_profile.json +0 -0
  262. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/napari_measurements_profile.json +0 -0
  263. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/notebook/neuron_types_measurment.json +0 -0
  264. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/notebook/neuron_types_segmentation.json +0 -0
  265. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/notebook/segment_data.json +0 -0
  266. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.10.4/analysis/batch_plans_save.json +0 -0
  267. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_pipeline_save.json +0 -0
  268. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_profiles_save.json +0 -0
  269. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_settings.json +0 -0
  270. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.10.4/analysis/statistic_profiles_save.json +0 -0
  271. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.10.4/analysis/view_settings.json +0 -0
  272. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.1/analysis/batch_plans_save.json +0 -0
  273. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_pipeline_save.json +0 -0
  274. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_profiles_save.json +0 -0
  275. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_settings.json +0 -0
  276. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.1/analysis/statistic_profiles_save.json +0 -0
  277. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.1/analysis/view_settings.json +0 -0
  278. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.1/mask/segmentation_settings.json +0 -0
  279. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.1/mask/view_settings.json +0 -0
  280. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.14/analysis/batch_plans_save.json +0 -0
  281. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_pipeline_save.json +0 -0
  282. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_profiles_save.json +0 -0
  283. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_settings.json +0 -0
  284. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.14/analysis/statistic_profiles_save.json +0 -0
  285. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.14/analysis/view_settings.json +0 -0
  286. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.14/mask/segmentation_settings.json +0 -0
  287. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.14/mask/view_settings.json +0 -0
  288. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.15/analysis/batch_plans_save.json +0 -0
  289. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_pipeline_save.json +0 -0
  290. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_profiles_save.json +0 -0
  291. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_settings.json +0 -0
  292. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.15/analysis/statistic_profiles_save.json +0 -0
  293. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.15/analysis/view_settings.json +0 -0
  294. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.15/mask/segmentation_settings.json +0 -0
  295. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.13.15/mask/view_settings.json +0 -0
  296. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.8.6/analysis/batch_plans_save.json +0 -0
  297. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_pipeline_save.json +0 -0
  298. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_profiles_save.json +0 -0
  299. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_settings.json +0 -0
  300. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.8.6/analysis/statistic_profiles_save.json +0 -0
  301. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/old_saves/0.8.6/analysis/view_settings.json +0 -0
  302. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/ome.xsd.xml +0 -0
  303. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/problematic_excel_batch.xlsx +0 -0
  304. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/problematic_json_batch.json +0 -0
  305. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/problematic_profile_dict.json +0 -0
  306. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/range_profile.json +0 -0
  307. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/sample_batch_output.xlsx +0 -0
  308. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/segment_profile_0.9.2.3.json +0 -0
  309. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/view_settings_v0.12.6.json +0 -0
  310. {partseg-0.16.5 → partseg-0.17.0rc1}/package/tests/test_data/workflow.json +0 -0
  311. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/dependabot_runtime.txt +0 -0
  312. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/pydantic_1.txt +0 -0
  313. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/requirements_ci.txt +0 -0
  314. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/requirements_dev.txt +0 -0
  315. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/requirements_test.txt +0 -0
  316. {partseg-0.16.5 → partseg-0.17.0rc1}/requirements/version_denylist.txt +0 -0
  317. {partseg-0.16.5 → partseg-0.17.0rc1}/setup.cfg +0 -0
  318. {partseg-0.16.5 → partseg-0.17.0rc1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PartSeg
3
- Version: 0.16.5
3
+ Version: 0.17.0rc1
4
4
  Summary: PartSeg is python GUI and set of napari plugins for bio imaging analysis especially nucleus analysis,
5
5
  Author-email: Grzegorz Bokota <g.bokota@uw.edu.pl>
6
6
  License-Expression: BSD-3-Clause
@@ -18,56 +18,54 @@ Classifier: Framework :: napari
18
18
  Classifier: Operating System :: OS Independent
19
19
  Classifier: Programming Language :: Python :: 3
20
20
  Classifier: Programming Language :: Python :: 3 :: Only
21
- Classifier: Programming Language :: Python :: 3.9
22
- Classifier: Programming Language :: Python :: 3.10
23
21
  Classifier: Programming Language :: Python :: 3.11
24
22
  Classifier: Programming Language :: Python :: 3.12
25
23
  Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
26
25
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
26
  Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
28
27
  Classifier: Topic :: Scientific/Engineering :: Image Processing
29
28
  Classifier: Topic :: Scientific/Engineering :: Visualization
30
- Requires-Python: >=3.9
29
+ Requires-Python: >=3.10
31
30
  Description-Content-Type: text/markdown
32
31
  License-File: License.txt
33
32
  Requires-Dist: IPython>=7.7.0
34
33
  Requires-Dist: PartSegCore-compiled-backend<0.16.0,>=0.13.11
35
34
  Requires-Dist: PartSegData==0.10.0
36
35
  Requires-Dist: QtAwesome!=1.2.0,>=1.0.3
37
- Requires-Dist: QtPy>=1.10.0
38
- Requires-Dist: SimpleITK>=2.1.0
39
- Requires-Dist: appdirs>=1.4.4
36
+ Requires-Dist: QtPy>=2.3.1
37
+ Requires-Dist: SimpleITK>=2.2.0
38
+ Requires-Dist: platformdirs>=4.3.0
40
39
  Requires-Dist: czifile>=2019.5.22
41
40
  Requires-Dist: defusedxml>=0.6.0
42
41
  Requires-Dist: fonticon-fontawesome6>=6.1.1
43
- Requires-Dist: h5py>=3.3.0
44
- Requires-Dist: imagecodecs>=2020.5.30
42
+ Requires-Dist: h5py>=3.7.0
43
+ Requires-Dist: imagecodecs>=2023.9.18
45
44
  Requires-Dist: imageio>=2.20.0
46
45
  Requires-Dist: ipykernel>=5.2.0
47
- Requires-Dist: local-migrator>=0.1.7
46
+ Requires-Dist: local-migrator>=0.1.10
48
47
  Requires-Dist: magicgui>=0.7.0
49
- Requires-Dist: mahotas>=1.4.12
50
- Requires-Dist: napari>=0.5.0
51
- Requires-Dist: nme>=0.1.7
52
- Requires-Dist: numpy>=1.22.2; python_version >= "3.10"
53
- Requires-Dist: numpy<2,>=1.22.2; python_version < "3.10"
48
+ Requires-Dist: mahotas>=1.4.13
49
+ Requires-Dist: napari>=0.6.2; python_version < "3.14"
50
+ Requires-Dist: napari>=0.7.0; python_version >= "3.14"
51
+ Requires-Dist: numpy>=1.24.2
54
52
  Requires-Dist: oiffile>=2020.1.18
55
53
  Requires-Dist: openpyxl>=3.0.7
56
54
  Requires-Dist: packaging>=22.0
57
- Requires-Dist: pandas>=1.3.0
58
- Requires-Dist: psygnal>=0.5.0
59
- Requires-Dist: pydantic<3,>=1.9.1
55
+ Requires-Dist: pandas>=1.4.0
56
+ Requires-Dist: psygnal>=0.10.0
57
+ Requires-Dist: pydantic>=2.2.0
60
58
  Requires-Dist: pygments>=2.12.0
61
59
  Requires-Dist: qtconsole>=4.7.7
62
60
  Requires-Dist: requests>=2.25.0
63
- Requires-Dist: scipy>=1.5.4
61
+ Requires-Dist: scipy>=1.10.1
64
62
  Requires-Dist: sentry-sdk>=2.4.0
65
63
  Requires-Dist: six>=1.11.0
66
- Requires-Dist: superqt>=0.6.7
64
+ Requires-Dist: superqt>=0.7.3
67
65
  Requires-Dist: sympy>=1.10
68
- Requires-Dist: tifffile>=2022.4.8
66
+ Requires-Dist: tifffile>=2023.9.26
69
67
  Requires-Dist: traceback-with-variables>=2.0.4
70
- Requires-Dist: vispy>=0.14.1
68
+ Requires-Dist: vispy>=0.15.2
71
69
  Requires-Dist: xlrd>=1.1.0
72
70
  Requires-Dist: xlsxwriter>=2.0.0
73
71
  Provides-Extra: accelerate
@@ -97,6 +95,7 @@ Requires-Dist: PartSeg[pyside2]; extra == "pyside"
97
95
  Provides-Extra: pyside2
98
96
  Requires-Dist: PySide2!=5.15.0,>=5.12.3; extra == "pyside2"
99
97
  Requires-Dist: napari[pyside]<0.7.0; extra == "pyside2"
98
+ Requires-Dist: superqt<0.8.0; extra == "pyside2"
100
99
  Provides-Extra: pyside6
101
100
  Requires-Dist: PySide6; extra == "pyside6"
102
101
  Requires-Dist: napari[pyside6]>=0.5.0; extra == "pyside6"
@@ -151,10 +150,10 @@ This application is designed to help biologist with segmentation based on thresh
151
150
 
152
151
  - From binaries:
153
152
 
154
- - [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.5/PartSeg-0.16.5-windows.zip) (build on Windows 10)
155
- - [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.5/PartSeg-0.16.5-linux.zip) (build on Ubuntu 20.04)
156
- - [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.5/PartSeg-0.16.5-macos.zip) (build on macOS 13)
157
- - [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.5/PartSeg-0.16.5-macos-arm64.zip) (build on macOS 14)
153
+ - [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.17.0rc1/PartSeg-0.17.0rc1-windows.zip) (build on Windows 10)
154
+ - [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.17.0rc1/PartSeg-0.17.0rc1-linux.zip) (build on Ubuntu 20.04)
155
+ - [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.17.0rc1/PartSeg-0.17.0rc1-macos.zip) (build on macOS 13)
156
+ - [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.17.0rc1/PartSeg-0.17.0rc1-macos-arm64.zip) (build on macOS 14)
158
157
  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.
159
158
 
160
159
  - With pip:
@@ -2,7 +2,7 @@ import json
2
2
  import os
3
3
  from contextlib import suppress
4
4
  from copy import deepcopy
5
- from typing import Optional, Union, cast
5
+ from typing import TypeAlias, cast
6
6
 
7
7
  from qtpy.QtCore import QEvent, Qt, Slot
8
8
  from qtpy.QtGui import QIcon
@@ -49,13 +49,13 @@ from PartSegCore.io_utils import LoadPlanJson
49
49
  from PartSegCore.universal_const import UNIT_SCALE, Units
50
50
  from PartSegData import icons_dir
51
51
 
52
- _DialogType = Union[type[str], type[int], type[float]]
52
+ _DialogType: TypeAlias = type[str] | type[int] | type[float]
53
53
 
54
54
 
55
55
  def h_line():
56
56
  toto = QFrame()
57
- toto.setFrameShape(QFrame.HLine)
58
- toto.setFrameShadow(QFrame.Sunken)
57
+ toto.setFrameShape(QFrame.Shape.HLine)
58
+ toto.setFrameShadow(QFrame.Shadow.Sunken)
59
59
  return toto
60
60
 
61
61
 
@@ -114,7 +114,7 @@ class Properties(QWidget):
114
114
  def setup_ui(self):
115
115
  spacing_layout = QHBoxLayout()
116
116
  spacing_layout.addWidget(self.lock_spacing)
117
- for txt, el in zip(["x", "y", "z"], self.spacing[::-1]):
117
+ for txt, el in zip(["x", "y", "z"], self.spacing[::-1], strict=False):
118
118
  spacing_layout.addWidget(QLabel(f"{txt}:"))
119
119
  spacing_layout.addWidget(el)
120
120
  spacing_layout.addWidget(self.units)
@@ -200,7 +200,7 @@ class Properties(QWidget):
200
200
  value = self.units.currentEnum()
201
201
  if index is not None:
202
202
  self._settings.set("units_value", value)
203
- for el, sp in zip(self.spacing[::-1], self._settings.image_spacing[::-1]):
203
+ for el, sp in zip(self.spacing[::-1], self._settings.image_spacing[::-1], strict=False):
204
204
  el.blockSignals(True)
205
205
  current_size = sp * UNIT_SCALE[self.units.currentIndex()]
206
206
  voxel_size *= current_size
@@ -353,7 +353,7 @@ class Properties(QWidget):
353
353
 
354
354
 
355
355
  class MeasurementListWidgetItem(QListWidgetItem):
356
- def __init__(self, stat: Union[Node, Leaf], *args, **kwargs):
356
+ def __init__(self, stat: Node | Leaf, *args, **kwargs):
357
357
  super().__init__(stat.pretty_print(MEASUREMENT_DICT), *args, **kwargs)
358
358
  self.stat = stat
359
359
 
@@ -365,8 +365,8 @@ class MeasurementSettings(QWidget):
365
365
 
366
366
  def __init__(self, settings: PartSettings, parent=None): # noqa: PLR0915
367
367
  super().__init__(parent)
368
- self.chosen_element: Optional[MeasurementListWidgetItem] = None
369
- self.chosen_element_area: Optional[tuple[AreaType, float]] = None
368
+ self.chosen_element: MeasurementListWidgetItem | None = None
369
+ self.chosen_element_area: tuple[AreaType, float] | None = None
370
370
  self.settings = settings
371
371
  self.profile_list = QListWidget(self)
372
372
  self.profile_description = QTextEdit(self)
@@ -640,8 +640,8 @@ class MeasurementSettings(QWidget):
640
640
  return FormDialog(arguments, settings=self.settings, parent=self)
641
641
 
642
642
  def get_parameters(
643
- self, node: Union[Node, Leaf], area: AreaType, component: PerComponent, power: float
644
- ) -> Union[Leaf, Node, None]:
643
+ self, node: Node | Leaf, area: AreaType, component: PerComponent, power: float
644
+ ) -> Leaf | Node | None:
645
645
  if isinstance(node, Node):
646
646
  return node
647
647
  node = node.replace_(power=power)
@@ -841,8 +841,8 @@ class MultipleInput(QDialog):
841
841
  self,
842
842
  text: str,
843
843
  help_text: str = "",
844
- objects_list: Optional[list[Union[tuple[str, _DialogType], tuple[str, _DialogType, str]]]] = None,
845
- parent: Optional[QWidget] = None,
844
+ objects_list: list[tuple[str, _DialogType] | tuple[str, _DialogType, str]] | None = None,
845
+ parent: QWidget | None = None,
846
846
  ):
847
847
  if objects_list is None: # pragma: no cover
848
848
  raise ValueError("objects_list cannot be None")
@@ -61,7 +61,7 @@ class SaveExcel(SaveBase):
61
61
  @classmethod
62
62
  def save(
63
63
  cls,
64
- save_location: typing.Union[str, BytesIO, Path],
64
+ save_location: str | BytesIO | Path,
65
65
  project_info,
66
66
  parameters: dict,
67
67
  range_changed=None,
@@ -74,7 +74,7 @@ class SaveExcel(SaveBase):
74
74
  return "Excel (*.xlsx)"
75
75
 
76
76
  @classmethod
77
- def get_fields(cls) -> list[typing.Union[AlgorithmProperty, str]]:
77
+ def get_fields(cls) -> list[AlgorithmProperty | str]:
78
78
  return []
79
79
 
80
80
 
@@ -381,7 +381,7 @@ class CalculationPrepare(QDialog):
381
381
  measurement_file_path: os.PathLike,
382
382
  settings: PartSettings,
383
383
  batch_manager: CalculationManager,
384
- parent: typing.Optional[QWidget] = None,
384
+ parent: QWidget | None = None,
385
385
  ):
386
386
  """
387
387
  :param file_list: list of files to proceed
@@ -1,5 +1,3 @@
1
- import typing
2
-
3
1
  import numpy as np
4
2
 
5
3
  from PartSeg.common_backend.progress_thread import ProgressTread
@@ -9,9 +7,16 @@ from PartSegImage import Image
9
7
 
10
8
 
11
9
  class CalculatePipelineThread(ProgressTread):
12
- result: typing.Optional[PipelineResult]
10
+ result: PipelineResult | None
11
+
12
+ def __init__(self, image: Image, mask: np.ndarray | None, pipeline: SegmentationPipeline, parent=None):
13
+ """Class for running the segmentation pipeline in a separate thread.
13
14
 
14
- def __init__(self, image: Image, mask: typing.Union[np.ndarray, None], pipeline: SegmentationPipeline, parent=None):
15
+ :param image: Image to process
16
+ :param mask: Mask to use for segmentation if None whole image is used
17
+ :param pipeline: Segmentation pipeline to use
18
+ :param parent: Parent widget
19
+ """
15
20
  super().__init__(parent=parent)
16
21
  self.image = image
17
22
  self.mask = mask
@@ -3,7 +3,6 @@ import logging
3
3
  import os
4
4
  import tarfile
5
5
  import time
6
- import typing
7
6
  import zipfile
8
7
  from contextlib import suppress
9
8
  from pathlib import Path
@@ -48,7 +47,7 @@ class ExportProjectDialog(QDialog):
48
47
  """Export data for zenodo"""
49
48
 
50
49
  def __init__(
51
- self, excel_path: str, base_folder: str, settings: PartSettings, parent: typing.Optional[QWidget] = None
50
+ self, excel_path: str, base_folder: str, settings: PartSettings, parent: QWidget | None = None
52
51
  ) -> None:
53
52
  super().__init__(parent=parent)
54
53
  self.setWindowTitle("Export batch with data")
@@ -307,7 +306,7 @@ class ExportProjectDialog(QDialog):
307
306
 
308
307
 
309
308
  def _extract_information_from_excel_to_export(
310
- excel_path: typing.Union[str, Path], base_folder: typing.Union[str, Path]
309
+ excel_path: str | Path, base_folder: str | Path
311
310
  ) -> list[tuple[str, bool]]:
312
311
  """Extract information from Excel file to export"""
313
312
  file_list = []
@@ -1,5 +1,4 @@
1
1
  import contextlib
2
- from typing import Optional
3
2
 
4
3
  from qtpy.QtCore import QObject, QSignalBlocker, Slot
5
4
  from qtpy.QtGui import QResizeEvent
@@ -80,7 +79,7 @@ class ResultImageView(ImageView):
80
79
 
81
80
  @Slot()
82
81
  @Slot(ROIInfo)
83
- def set_roi(self, roi_info: Optional[ROIInfo] = None, image: Optional[Image] = None) -> None:
82
+ def set_roi(self, roi_info: ROIInfo | None = None, image: Image | None = None) -> None:
84
83
  super().set_roi(roi_info, image)
85
84
  show = self.any_roi()
86
85
  self.label1.setVisible(show)
@@ -89,7 +89,7 @@ class MeasurementsStorage:
89
89
  values = data.get_separated()
90
90
  units = data.get_units()
91
91
  else:
92
- values, units = zip(*list(data.values()))
92
+ values, units = zip(*list(data.values()), strict=True)
93
93
  values = [values]
94
94
  self.max_rows = max(self.max_rows, len(values[0]))
95
95
  self.content.extend(values)
@@ -97,7 +97,7 @@ class PartSettings(BaseSettings):
97
97
  points=self.points,
98
98
  )
99
99
 
100
- def set_project_info(self, data: typing.Union[ProjectTuple, MaskInfo, PointsInfo]):
100
+ def set_project_info(self, data: ProjectTuple | MaskInfo | PointsInfo):
101
101
  if isinstance(data, MaskInfo):
102
102
  self.mask = data.mask_array
103
103
  return
@@ -264,7 +264,7 @@ class MaskOperation(Enum):
264
264
 
265
265
 
266
266
  class ProtectedGroupBox(QGroupBox):
267
- def __init__(self, text: str, parent: typing.Optional[QWidget] = None):
267
+ def __init__(self, text: str, parent: QWidget | None = None):
268
268
  super().__init__(text, parent)
269
269
  self.setStyleSheet(group_sheet)
270
270
  self.protect = False
@@ -272,7 +272,7 @@ class ProtectedGroupBox(QGroupBox):
272
272
  self._parent_node_type = None
273
273
  self._replace = False
274
274
 
275
- def set_current_node(self, node: typing.Optional[NodeType], parent_node: typing.Optional[NodeType] = None):
275
+ def set_current_node(self, node: NodeType | None, parent_node: NodeType | None = None):
276
276
  self._node_type = node
277
277
  self._parent_node_type = parent_node
278
278
  self._activate_button()
@@ -294,7 +294,7 @@ class ProtectedGroupBox(QGroupBox):
294
294
  self.protect = previous
295
295
 
296
296
  @classmethod
297
- def refresh_profiles(cls, list_widget: typing.Union[QListWidget, SearchableListWidget], new_values: list[str]):
297
+ def refresh_profiles(cls, list_widget: QListWidget | SearchableListWidget, new_values: list[str]):
298
298
  index = cls.get_index(list_widget.currentItem(), new_values)
299
299
  list_widget.clear()
300
300
  list_widget.addItems(new_values)
@@ -357,7 +357,7 @@ class OtherOperations(ProtectedGroupBox):
357
357
  self._activate_button()
358
358
 
359
359
  @property
360
- def expected_node_type(self) -> typing.Optional[NodeType]:
360
+ def expected_node_type(self) -> NodeType | None:
361
361
  save_class = self.save_translate_dict.get(self.choose_save_method.currentText(), None)
362
362
  if save_class is None:
363
363
  return None
@@ -406,7 +406,7 @@ class ROIExtractionOp(ProtectedGroupBox):
406
406
  roi_extraction_profile_add = Signal(object)
407
407
  roi_extraction_pipeline_add = Signal(object)
408
408
 
409
- def __init__(self, settings: PartSettings, parent: typing.Optional[QWidget] = None):
409
+ def __init__(self, settings: PartSettings, parent: QWidget | None = None):
410
410
  super().__init__("ROI extraction", parent)
411
411
  self.settings = settings
412
412
 
@@ -511,7 +511,7 @@ class SelectMeasurementOp(ProtectedGroupBox):
511
511
  set_of_measurement_add = Signal(object)
512
512
  set_of_measurement_selected = Signal(object)
513
513
 
514
- def __init__(self, settings: PartSettings, parent: typing.Optional[QWidget] = None):
514
+ def __init__(self, settings: PartSettings, parent: QWidget | None = None):
515
515
  super().__init__("Set of measurements:", parent)
516
516
  self.settings = settings
517
517
 
@@ -589,7 +589,7 @@ class SelectMeasurementOp(ProtectedGroupBox):
589
589
 
590
590
 
591
591
  class StretchWrap(QWidget):
592
- def __init__(self, widget: QWidget, parent: typing.Optional[QWidget] = None):
592
+ def __init__(self, widget: QWidget, parent: QWidget | None = None):
593
593
  super().__init__(parent)
594
594
  self.widget = widget
595
595
  lay = QVBoxLayout()
@@ -605,7 +605,7 @@ class StretchWrap(QWidget):
605
605
  class SelectMaskOp(ProtectedGroupBox):
606
606
  mask_step_add = Signal(object)
607
607
 
608
- def __init__(self, settings: PartSettings, parent: typing.Optional[QWidget] = None):
608
+ def __init__(self, settings: PartSettings, parent: QWidget | None = None):
609
609
  super().__init__("Use mask from:", parent)
610
610
  self.settings = settings
611
611
  self.mask_set = {}
@@ -910,7 +910,7 @@ class CreatePlan(QWidget):
910
910
  self.settings.batch_plans[text] = plan
911
911
  self.settings.dump()
912
912
 
913
- def show_info(self, item: typing.Union[ROIExtractionOp, SegmentationPipeline, MeasurementProfile]):
913
+ def show_info(self, item: ROIExtractionOp | SegmentationPipeline | MeasurementProfile):
914
914
  if isinstance(item, (ROIExtractionOp, MeasurementProfile)):
915
915
  self.information.setText(str(item))
916
916
  else:
@@ -156,8 +156,8 @@ class ImportDialog(QDialog):
156
156
  import_dict: dict[str, typing.Any],
157
157
  local_dict: dict[str, typing.Any],
158
158
  viewer: type[ObjectPreviewProtocol],
159
- expected_type: typing.Optional[type] = None,
160
- parent: typing.Optional[QWidget] = None,
159
+ expected_type: type | None = None,
160
+ parent: QWidget | None = None,
161
161
  ):
162
162
  """
163
163
  :param import_dict: dict with data to import
@@ -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 TYPE_CHECKING, NamedTuple, Optional, Union, cast
6
+ from typing import TYPE_CHECKING, NamedTuple, cast
7
7
 
8
8
  from pydantic import BaseModel
9
9
  from qtpy.QtCore import QThread, Signal
@@ -19,9 +19,9 @@ if TYPE_CHECKING:
19
19
 
20
20
 
21
21
  class BatchTask(NamedTuple):
22
- data: Union[str, MaskProjectTuple]
22
+ data: str | MaskProjectTuple
23
23
  parameters: ROIExtractionProfile
24
- save_prefix: Optional[tuple[Union[str, Path], Union[dict, BaseModel]]]
24
+ save_prefix: tuple[str | Path, dict | BaseModel] | None
25
25
 
26
26
 
27
27
  class BatchProceed(QThread):
@@ -42,7 +42,7 @@ class BatchProceed(QThread):
42
42
  self.result_dir = ""
43
43
  self.save_parameters = {}
44
44
 
45
- def add_task(self, task: Union[BatchTask, list[BatchTask]]):
45
+ def add_task(self, task: BatchTask | list[BatchTask]):
46
46
  if isinstance(task, list):
47
47
  for el in task:
48
48
  self.queue.put(el)
@@ -2,7 +2,6 @@ import os
2
2
  from collections.abc import Sequence
3
3
  from contextlib import suppress
4
4
  from functools import partial
5
- from typing import Union
6
5
 
7
6
  import numpy as np
8
7
  from qtpy.QtCore import QByteArray, Qt, Signal, Slot
@@ -461,7 +460,7 @@ class ChosenComponents(QScrollArea):
461
460
  def new_choose(self, num: int, chosen_components: Sequence[int]) -> None:
462
461
  self.set_components(range(1, num + 1), chosen_components)
463
462
 
464
- def set_components(self, components_index, chosen_components: Union[Sequence[int], None] = None):
463
+ def set_components(self, components_index, chosen_components: Sequence[int] | None = None):
465
464
  if chosen_components is None:
466
465
  chosen_components = []
467
466
  chosen_components = set(chosen_components)
@@ -872,7 +871,7 @@ class ImageInformation(QWidget):
872
871
  units_value = self.units.currentEnum()
873
872
  if index is not None:
874
873
  self._settings.set("units_value", units_value)
875
- for el, val in zip(self.spacing, self._settings.image_spacing[::-1]):
874
+ for el, val in zip(self.spacing, self._settings.image_spacing[::-1], strict=False):
876
875
  el.blockSignals(True)
877
876
  el.setValue(val * UNIT_SCALE[units_value.value])
878
877
  el.blockSignals(False)
@@ -890,7 +889,7 @@ class ImageInformation(QWidget):
890
889
 
891
890
  def showEvent(self, _a0):
892
891
  units_value = self._settings.get("units_value", Units.nm)
893
- for el, val in zip(self.spacing, self._settings.image_spacing[::-1]):
892
+ for el, val in zip(self.spacing, self._settings.image_spacing[::-1], strict=True):
894
893
  el.setValue(val * UNIT_SCALE[units_value.value])
895
894
  if self._settings.is_image_2d():
896
895
  self.spacing[2].setValue(0)
@@ -1,4 +1,4 @@
1
- from typing import Callable, Optional
1
+ from collections.abc import Callable
2
2
 
3
3
  from qtpy.QtCore import QEvent
4
4
  from qtpy.QtWidgets import QGridLayout, QLabel, QListWidget, QPlainTextEdit, QPushButton, QWidget
@@ -45,7 +45,7 @@ class SegmentationInfoDialog(QWidget):
45
45
  self.setLayout(layout)
46
46
  self.setWindowTitle("Parameters preview")
47
47
 
48
- def set_parameters_dict(self, val: Optional[dict[int, ROIExtractionProfile]]):
48
+ def set_parameters_dict(self, val: dict[int, ROIExtractionProfile] | None):
49
49
  self.parameters_dict = val
50
50
 
51
51
  def set_additional_text(self, text):
@@ -140,7 +140,7 @@ class StackSettings(BaseSettings):
140
140
  points=self.points,
141
141
  )
142
142
 
143
- def set_project_info(self, data: typing.Union[MaskProjectTuple, PointsInfo]):
143
+ def set_project_info(self, data: MaskProjectTuple | PointsInfo):
144
144
  """signals = self.signalsBlocked()
145
145
  if data.segmentation is not None:
146
146
  self.blockSignals(True)"""
@@ -200,7 +200,7 @@ class StackSettings(BaseSettings):
200
200
  cls,
201
201
  state: MaskProjectTuple,
202
202
  new_roi_info: ROIInfo,
203
- new_roi_extraction_parameters: dict[int, typing.Optional[ROIExtractionProfile]],
203
+ new_roi_extraction_parameters: dict[int, ROIExtractionProfile | None],
204
204
  list_of_components: list[int],
205
205
  save_chosen: bool = True,
206
206
  ) -> MaskProjectTuple:
@@ -285,7 +285,7 @@ class StackSettings(BaseSettings):
285
285
  return False
286
286
  return not any(
287
287
  el2.mask_property != el1.mask_property or el2.roi_extraction_parameters != el1.roi_extraction_parameters
288
- for el1, el2 in zip(self.history, history)
288
+ for el1, el2 in zip(self.history, history, strict=True)
289
289
  )
290
290
 
291
291
  def _set_roi_info(
@@ -319,9 +319,7 @@ class StackSettings(BaseSettings):
319
319
  self.chosen_components_widget.blockSignals(prev)
320
320
 
321
321
 
322
- def get_mask(
323
- segmentation: typing.Optional[np.ndarray], mask: typing.Optional[np.ndarray], selected: list[int]
324
- ) -> np.ndarray:
322
+ def get_mask(segmentation: np.ndarray | None, mask: np.ndarray | None, selected: list[int]) -> np.ndarray:
325
323
  """
326
324
  Calculate mask base on segmentation, current mask and list of chosen components.
327
325
  Its exclude selected components from mask.
@@ -8,7 +8,6 @@ import zlib
8
8
  from collections.abc import Sequence
9
9
  from contextlib import suppress
10
10
  from importlib.metadata import version as package_version
11
- from typing import Optional
12
11
 
13
12
  import sentry_sdk
14
13
  import sentry_sdk.serializer
@@ -19,7 +18,7 @@ from PartSeg import __version__, state_store
19
18
  from PartSeg.common_backend.except_hook import my_excepthook
20
19
  from PartSegCore.utils import safe_repr
21
20
 
22
- SENTRY_GE_1_29 = parse_version(package_version("sentry_sdk")) >= parse_version("1.29.0")
21
+ SENTRY_GE_2_61 = parse_version(package_version("sentry_sdk")) >= parse_version("2.61.0")
23
22
 
24
23
 
25
24
  def proper_suffix(val: str):
@@ -103,7 +102,7 @@ class CustomParser(argparse.ArgumentParser):
103
102
  self.add_argument("--develop", action="store_true", help=argparse.SUPPRESS)
104
103
  self.add_argument("--version", action="version", version=f"%(prog)s {__version__}")
105
104
 
106
- def parse_args(self, args: Optional[Sequence[str]] = None, namespace: Optional[argparse.Namespace] = None):
105
+ def parse_args(self, args: Sequence[str] | None = None, namespace: argparse.Namespace | None = None):
107
106
  """
108
107
  overload of :py:meth:`argparse.ArgumentParser.parse_args`. Set flags like described in class documentation.
109
108
  """
@@ -135,13 +134,14 @@ def _setup_sentry(): # pragma: no cover
135
134
  if not state_store.sentry_url:
136
135
  state_store.report_errors = False
137
136
  return
138
- sentry_sdk.utils.MAX_STRING_LENGTH = 10**4
139
- if getattr(sentry_sdk.utils, "DEFAULT_MAX_VALUE_LENGTH", 5000) < 10**4:
140
- sentry_sdk.utils.DEFAULT_MAX_VALUE_LENGTH = 10**4
137
+ if not SENTRY_GE_2_61:
138
+ sentry_sdk.utils.MAX_STRING_LENGTH = 10**4
139
+ if getattr(sentry_sdk.utils, "DEFAULT_MAX_VALUE_LENGTH", 5000) < 10**4:
140
+ sentry_sdk.utils.DEFAULT_MAX_VALUE_LENGTH = 10**4
141
141
  sentry_sdk.serializer.safe_repr = safe_repr
142
142
  sentry_sdk.serializer.MAX_DATABAG_BREADTH = 100
143
143
  init_kwargs = {"release": f"PartSeg@{__version__}"}
144
- if SENTRY_GE_1_29:
144
+ if not SENTRY_GE_2_61:
145
145
  init_kwargs["max_value_length"] = sentry_sdk.utils.DEFAULT_MAX_VALUE_LENGTH
146
146
  sentry_sdk.init(
147
147
  state_store.sentry_url,