PartSeg 0.16.3__tar.gz → 0.16.4rc0__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 (314) hide show
  1. {partseg-0.16.3 → partseg-0.16.4rc0}/MANIFEST.in +1 -0
  2. {partseg-0.16.3 → partseg-0.16.4rc0}/PKG-INFO +62 -12
  3. {partseg-0.16.3 → partseg-0.16.4rc0}/changelog.md +51 -0
  4. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_mask/main_window.py +1 -1
  5. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_mask/stack_settings.py +1 -0
  6. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/changelog.py +51 -0
  7. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/__init__.py +4 -0
  8. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/base_argparser.py +10 -9
  9. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/custom_save_dialog.py +4 -1
  10. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/main_window.py +1 -0
  11. partseg-0.16.4rc0/package/PartSeg/version.py +34 -0
  12. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg.egg-info/PKG-INFO +62 -12
  13. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg.egg-info/requires.txt +5 -5
  14. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/batch_processing/batch_backend.py +7 -3
  15. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/measurement_base.py +8 -1
  16. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/restartable_segmentation_algorithms.py +2 -0
  17. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegImage/image.py +64 -12
  18. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegImage/image_reader.py +22 -3
  19. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegImage/image_writer.py +1 -0
  20. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_common_gui.py +30 -1
  21. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_sentry.py +18 -10
  22. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_viewer.py +5 -0
  23. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_algorithm_describe_base.py +6 -6
  24. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_analysis_batch.py +24 -7
  25. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegImage/test_image.py +43 -1
  26. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegImage/test_image_writer.py +28 -5
  27. {partseg-0.16.3 → partseg-0.16.4rc0}/pyproject.toml +12 -18
  28. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/constraints_py3.10.txt +62 -64
  29. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/constraints_py3.10_pydantic_1.txt +55 -56
  30. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/constraints_py3.11.txt +67 -69
  31. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/constraints_py3.11_pydantic_1.txt +60 -61
  32. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/constraints_py3.12.txt +67 -68
  33. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/constraints_py3.12_docs.txt +58 -57
  34. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/constraints_py3.12_pydantic_1.txt +64 -65
  35. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/constraints_py3.9.txt +53 -54
  36. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/constraints_py3.9_pydantic_1.txt +51 -52
  37. partseg-0.16.4rc0/requirements/pre_test_problematic_version.txt +3 -0
  38. partseg-0.16.3/package/PartSeg/version.py +0 -21
  39. partseg-0.16.3/requirements/pre_test_problematic_version.txt +0 -3
  40. {partseg-0.16.3 → partseg-0.16.4rc0}/.napari/DESCRIPTION.md +0 -0
  41. {partseg-0.16.3 → partseg-0.16.4rc0}/.napari/config.yml +0 -0
  42. {partseg-0.16.3 → partseg-0.16.4rc0}/CITATION.cff +0 -0
  43. {partseg-0.16.3 → partseg-0.16.4rc0}/License.txt +0 -0
  44. {partseg-0.16.3 → partseg-0.16.4rc0}/Readme.md +0 -0
  45. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/__init__.py +0 -0
  46. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/__main__.py +0 -0
  47. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_launcher/__init__.py +0 -0
  48. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_launcher/check_survey.py +0 -0
  49. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_launcher/check_version.py +0 -0
  50. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_launcher/main_window.py +0 -0
  51. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/__init__.py +0 -0
  52. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/advanced_window.py +0 -0
  53. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/batch_window.py +0 -0
  54. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/calculation_pipeline_thread.py +0 -0
  55. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/export_batch.py +0 -0
  56. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/image_view.py +0 -0
  57. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/main_window.py +0 -0
  58. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/measurement_widget.py +0 -0
  59. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/partseg_settings.py +0 -0
  60. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/prepare_plan_widget.py +0 -0
  61. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_analysis/profile_export.py +0 -0
  62. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_mask/__init__.py +0 -0
  63. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_mask/batch_proceed.py +0 -0
  64. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_mask/image_view.py +0 -0
  65. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_mask/segmentation_info_dialog.py +0 -0
  66. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/_roi_mask/simple_measurements.py +0 -0
  67. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/abstract_class.py +0 -0
  68. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/base_settings.py +0 -0
  69. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/except_hook.py +0 -0
  70. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/load_backup.py +0 -0
  71. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/partially_const_dict.py +0 -0
  72. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/progress_thread.py +0 -0
  73. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/python_syntax_highlight.py +0 -0
  74. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_backend/segmentation_thread.py +0 -0
  75. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/__init__.py +0 -0
  76. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/about_dialog.py +0 -0
  77. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/advanced_tabs.py +0 -0
  78. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/algorithms_description.py +0 -0
  79. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/channel_control.py +0 -0
  80. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/collapse_checkbox.py +0 -0
  81. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/colormap_creator.py +0 -0
  82. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/custom_buttons.py +0 -0
  83. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/custom_load_dialog.py +0 -0
  84. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/dict_viewer.py +0 -0
  85. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/equal_column_layout.py +0 -0
  86. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/error_report.py +0 -0
  87. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/exception_hooks.py +0 -0
  88. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/flow_layout.py +0 -0
  89. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/icon_selector.py +0 -0
  90. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/image_adjustment.py +0 -0
  91. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/label_create.py +0 -0
  92. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/lock_checkbox.py +0 -0
  93. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/mask_widget.py +0 -0
  94. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/multiple_file_widget.py +0 -0
  95. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/napari_image_view.py +0 -0
  96. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/napari_viewer_wrap.py +0 -0
  97. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/numpy_qimage.py +0 -0
  98. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/qt_console.py +0 -0
  99. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/qt_modal.py +0 -0
  100. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/qt_util.py +0 -0
  101. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/searchable_combo_box.py +0 -0
  102. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/searchable_list_widget.py +0 -0
  103. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/select_multiple_files.py +0 -0
  104. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/show_directory_dialog.py +0 -0
  105. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/stack_image_view.py +0 -0
  106. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/stacked_widget_with_selector.py +0 -0
  107. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/universal_gui_part.py +0 -0
  108. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/common_gui/waiting_dialog.py +0 -0
  109. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/launcher_main.py +0 -0
  110. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/napari.yaml +0 -0
  111. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/__init__.py +0 -0
  112. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/itk_snap_save/__init__.py +0 -0
  113. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/modeling_save/__init__.py +0 -0
  114. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/modeling_save/save_modeling_data.py +0 -0
  115. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_io/__init__.py +0 -0
  116. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_io/load_image.py +0 -0
  117. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_io/load_mask_project.py +0 -0
  118. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_io/load_masked_image.py +0 -0
  119. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_io/load_roi_project.py +0 -0
  120. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_io/loader.py +0 -0
  121. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_io/save_mask_roi.py +0 -0
  122. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_io/save_tiff_layer.py +0 -0
  123. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/__init__.py +0 -0
  124. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/_settings.py +0 -0
  125. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/algorithm_widgets.py +0 -0
  126. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/colormap_control.py +0 -0
  127. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/copy_labels.py +0 -0
  128. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/lables_control.py +0 -0
  129. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/mask_create_widget.py +0 -0
  130. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/measurement_widget.py +0 -0
  131. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/metadata_viewer.py +0 -0
  132. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/roi_extraction_algorithms.py +0 -0
  133. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/search_label_widget.py +0 -0
  134. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/simple_measurement_widget.py +0 -0
  135. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/napari_widgets/utils.py +0 -0
  136. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/old_partseg/__init__.py +0 -0
  137. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/plugins/old_partseg/old_partseg.py +0 -0
  138. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg/state_store.py +0 -0
  139. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg.egg-info/SOURCES.txt +0 -0
  140. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg.egg-info/dependency_links.txt +0 -0
  141. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg.egg-info/entry_points.txt +0 -0
  142. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSeg.egg-info/top_level.txt +0 -0
  143. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/__init__.py +0 -0
  144. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/_old_json_hooks.py +0 -0
  145. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/algorithm_describe_base.py +0 -0
  146. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/__init__.py +0 -0
  147. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/algorithm_description.py +0 -0
  148. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/analysis_utils.py +0 -0
  149. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/batch_processing/__init__.py +0 -0
  150. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/batch_processing/parallel_backend.py +0 -0
  151. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/calculate_pipeline.py +0 -0
  152. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/calculation_plan.py +0 -0
  153. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/io_utils.py +0 -0
  154. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/load_functions.py +0 -0
  155. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/measurement_calculation.py +0 -0
  156. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/analysis/save_functions.py +0 -0
  157. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/autofit.py +0 -0
  158. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/channel_class.py +0 -0
  159. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/class_generator.py +0 -0
  160. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/color_image/__init__.py +0 -0
  161. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/color_image/base_colors.py +0 -0
  162. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/color_image/color_data.py +0 -0
  163. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/convex_fill.py +0 -0
  164. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/custom_name_generate.py +0 -0
  165. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/image_operations.py +0 -0
  166. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/image_transforming/__init__.py +0 -0
  167. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/image_transforming/combine_channels.py +0 -0
  168. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/image_transforming/image_projection.py +0 -0
  169. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/image_transforming/interpolate_image.py +0 -0
  170. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/image_transforming/swap_time_stack.py +0 -0
  171. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/image_transforming/transform_base.py +0 -0
  172. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/io_utils.py +0 -0
  173. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/json_hooks.py +0 -0
  174. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/mask/__init__.py +0 -0
  175. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/mask/algorithm_description.py +0 -0
  176. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/mask/history_utils.py +0 -0
  177. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/mask/io_functions.py +0 -0
  178. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/mask_create.py +0 -0
  179. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/mask_partition_utils.py +0 -0
  180. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/plugins/__init__.py +0 -0
  181. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/project_info.py +0 -0
  182. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/register.py +0 -0
  183. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/roi_info.py +0 -0
  184. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/__init__.py +0 -0
  185. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/algorithm_base.py +0 -0
  186. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/border_smoothing.py +0 -0
  187. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/mu_mid_point.py +0 -0
  188. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/noise_filtering.py +0 -0
  189. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/segmentation_algorithm.py +0 -0
  190. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/threshold.py +0 -0
  191. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/utils.py +0 -0
  192. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/segmentation/watershed.py +0 -0
  193. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/sphinx/__init__.py +0 -0
  194. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/sphinx/auto_parameters.py +0 -0
  195. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/universal_const.py +0 -0
  196. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegCore/utils.py +0 -0
  197. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegImage/__init__.py +0 -0
  198. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegImage/channel_class.py +0 -0
  199. {partseg-0.16.3 → partseg-0.16.4rc0}/package/PartSegImage/tifffile_fixes.py +0 -0
  200. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/conftest.py +0 -0
  201. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/__init__.py +0 -0
  202. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/conftest.py +0 -0
  203. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_analysis/__init__.py +0 -0
  204. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_analysis/test_advanced_window.py +0 -0
  205. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_analysis/test_batch.py +0 -0
  206. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_analysis/test_batch_window.py +0 -0
  207. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_analysis/test_export_batch.py +0 -0
  208. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_analysis/test_image_view.py +0 -0
  209. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_analysis/test_main_window.py +0 -0
  210. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_analysis/test_profile_export.py +0 -0
  211. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_mask/__init__.py +0 -0
  212. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_mask/test_batch.py +0 -0
  213. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/roi_mask/test_main_window.py +0 -0
  214. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_analysis.py +0 -0
  215. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_base.py +0 -0
  216. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_base_widgets.py +0 -0
  217. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_channel_control.py +0 -0
  218. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_check_release.py +0 -0
  219. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_check_survey.py +0 -0
  220. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_colormap_create.py +0 -0
  221. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_common_backend.py +0 -0
  222. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_io.py +0 -0
  223. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_label_choose.py +0 -0
  224. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_launcher.py +0 -0
  225. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_main_windows.py +0 -0
  226. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_napari_image_view.py +0 -0
  227. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_napari_io.py +0 -0
  228. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_napari_widgets.py +0 -0
  229. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_roi_analysis_batch.py +0 -0
  230. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_settings.py +0 -0
  231. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSeg/test_window_import.py +0 -0
  232. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/__init__.py +0 -0
  233. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/segmentation/__init__.py +0 -0
  234. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/segmentation/test_algorithm_base.py +0 -0
  235. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/segmentation/test_segmentation_algorithm.py +0 -0
  236. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/segmentation/test_threshold.py +0 -0
  237. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_base.py +0 -0
  238. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_class_generator.py +0 -0
  239. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_class_register.py +0 -0
  240. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_image_adjustment.py +0 -0
  241. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_io.py +0 -0
  242. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_json_hooks.py +0 -0
  243. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_mask_create.py +0 -0
  244. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_mask_partition.py +0 -0
  245. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_measurements.py +0 -0
  246. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_min_req.py +0 -0
  247. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_mso.py +0 -0
  248. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_pipeline.py +0 -0
  249. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_segmentation.py +0 -0
  250. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_segmentation_proceses.py +0 -0
  251. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_smooth.py +0 -0
  252. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegCore/test_utils.py +0 -0
  253. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegImage/__init__.py +0 -0
  254. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegImage/test_channel_class.py +0 -0
  255. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_PartSegImage/test_image_reader.py +0 -0
  256. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/calculation_plan_0.9.2.3.json +0 -0
  257. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/measurements_profile.json +0 -0
  258. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/napari_measurements_profile.json +0 -0
  259. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/notebook/neuron_types_measurment.json +0 -0
  260. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/notebook/neuron_types_segmentation.json +0 -0
  261. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/notebook/segment_data.json +0 -0
  262. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.10.4/analysis/batch_plans_save.json +0 -0
  263. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_pipeline_save.json +0 -0
  264. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_profiles_save.json +0 -0
  265. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.10.4/analysis/segmentation_settings.json +0 -0
  266. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.10.4/analysis/statistic_profiles_save.json +0 -0
  267. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.10.4/analysis/view_settings.json +0 -0
  268. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.1/analysis/batch_plans_save.json +0 -0
  269. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_pipeline_save.json +0 -0
  270. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_profiles_save.json +0 -0
  271. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.1/analysis/segmentation_settings.json +0 -0
  272. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.1/analysis/statistic_profiles_save.json +0 -0
  273. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.1/analysis/view_settings.json +0 -0
  274. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.1/mask/segmentation_settings.json +0 -0
  275. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.1/mask/view_settings.json +0 -0
  276. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.14/analysis/batch_plans_save.json +0 -0
  277. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_pipeline_save.json +0 -0
  278. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_profiles_save.json +0 -0
  279. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.14/analysis/segmentation_settings.json +0 -0
  280. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.14/analysis/statistic_profiles_save.json +0 -0
  281. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.14/analysis/view_settings.json +0 -0
  282. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.14/mask/segmentation_settings.json +0 -0
  283. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.14/mask/view_settings.json +0 -0
  284. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.15/analysis/batch_plans_save.json +0 -0
  285. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_pipeline_save.json +0 -0
  286. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_profiles_save.json +0 -0
  287. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.15/analysis/segmentation_settings.json +0 -0
  288. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.15/analysis/statistic_profiles_save.json +0 -0
  289. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.15/analysis/view_settings.json +0 -0
  290. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.15/mask/segmentation_settings.json +0 -0
  291. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.13.15/mask/view_settings.json +0 -0
  292. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.8.6/analysis/batch_plans_save.json +0 -0
  293. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_pipeline_save.json +0 -0
  294. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_profiles_save.json +0 -0
  295. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.8.6/analysis/segmentation_settings.json +0 -0
  296. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.8.6/analysis/statistic_profiles_save.json +0 -0
  297. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/old_saves/0.8.6/analysis/view_settings.json +0 -0
  298. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/ome.xsd.xml +0 -0
  299. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/problematic_excel_batch.xlsx +0 -0
  300. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/problematic_json_batch.json +0 -0
  301. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/problematic_profile_dict.json +0 -0
  302. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/range_profile.json +0 -0
  303. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/sample_batch_output.xlsx +0 -0
  304. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/segment_profile_0.9.2.3.json +0 -0
  305. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/view_settings_v0.12.6.json +0 -0
  306. {partseg-0.16.3 → partseg-0.16.4rc0}/package/tests/test_data/workflow.json +0 -0
  307. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/dependabot_runtime.txt +0 -0
  308. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/pydantic_1.txt +0 -0
  309. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/requirements_ci.txt +0 -0
  310. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/requirements_dev.txt +0 -0
  311. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/requirements_test.txt +0 -0
  312. {partseg-0.16.3 → partseg-0.16.4rc0}/requirements/version_denylist.txt +0 -0
  313. {partseg-0.16.3 → partseg-0.16.4rc0}/setup.cfg +0 -0
  314. {partseg-0.16.3 → partseg-0.16.4rc0}/setup.py +0 -0
@@ -29,6 +29,7 @@ exclude .zenodo.json
29
29
  exclude tox*
30
30
  exclude .pre-commit-config.yaml
31
31
  exclude .deepsource.toml
32
+ exclude .coderabbit.yaml
32
33
  exclude help/**
33
34
  exclude docs/**
34
35
  exclude images/**
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PartSeg
3
- Version: 0.16.3
3
+ Version: 0.16.4rc0
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
- License: BSD-3-Clause
6
+ License-Expression: BSD-3-Clause
7
7
  Project-URL: Homepage, https://partseg.github.io/
8
8
  Project-URL: Documentation, https://partseg.readthedocs.io/en/stable/
9
9
  Project-URL: Source Code, https://github.com/4DNucleome/PartSeg
@@ -15,7 +15,6 @@ Platform: Windows
15
15
  Platform: MacOs
16
16
  Classifier: Development Status :: 3 - Alpha
17
17
  Classifier: Framework :: napari
18
- Classifier: License :: OSI Approved :: BSD License
19
18
  Classifier: Operating System :: OS Independent
20
19
  Classifier: Programming Language :: Python :: 3
21
20
  Classifier: Programming Language :: Python :: 3 :: Only
@@ -45,9 +44,9 @@ Requires-Dist: imagecodecs>=2020.5.30
45
44
  Requires-Dist: imageio>=2.20.0
46
45
  Requires-Dist: ipykernel>=5.2.0
47
46
  Requires-Dist: local-migrator>=0.1.7
48
- Requires-Dist: magicgui!=0.5.0,>=0.4.0
47
+ Requires-Dist: magicgui>=0.7.0
49
48
  Requires-Dist: mahotas>=1.4.12
50
- Requires-Dist: napari>=0.4.19
49
+ Requires-Dist: napari>=0.5.0
51
50
  Requires-Dist: nme>=0.1.7
52
51
  Requires-Dist: numpy>=1.22.2; python_version >= "3.10"
53
52
  Requires-Dist: numpy<2,>=1.22.2; python_version < "3.10"
@@ -55,7 +54,7 @@ Requires-Dist: oiffile>=2020.1.18
55
54
  Requires-Dist: openpyxl>=3.0.7
56
55
  Requires-Dist: packaging>=22.0
57
56
  Requires-Dist: pandas>=1.3.0
58
- Requires-Dist: psygnal>=0.3.4
57
+ Requires-Dist: psygnal>=0.5.0
59
58
  Requires-Dist: pydantic<3,>=1.9.1
60
59
  Requires-Dist: pygments>=2.12.0
61
60
  Requires-Dist: qtconsole>=4.7.7
@@ -63,9 +62,9 @@ Requires-Dist: requests>=2.25.0
63
62
  Requires-Dist: scipy>=1.5.4
64
63
  Requires-Dist: sentry-sdk>=2.4.0
65
64
  Requires-Dist: six>=1.11.0
66
- Requires-Dist: superqt>=0.4.1
65
+ Requires-Dist: superqt>=0.6.7
67
66
  Requires-Dist: sympy>=1.10
68
- Requires-Dist: tifffile>=2020.9.30
67
+ Requires-Dist: tifffile>=2022.4.8
69
68
  Requires-Dist: traceback-with-variables>=2.0.4
70
69
  Requires-Dist: vispy>=0.14.1
71
70
  Requires-Dist: xlrd>=1.1.0
@@ -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.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)
153
+ - [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.4rc0/PartSeg-0.16.4rc0-windows.zip) (build on Windows 10)
154
+ - [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.4rc0/PartSeg-0.16.4rc0-linux.zip) (build on Ubuntu 20.04)
155
+ - [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.4rc0/PartSeg-0.16.4rc0-macos.zip) (build on macOS 13)
156
+ - [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.4rc0/PartSeg-0.16.4rc0-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:
@@ -244,6 +243,57 @@ from 3D microscopy images for dummies. BMC Bioinformatics 22, 72 (2021).
244
243
 
245
244
  All notable changes to this project will be documented in this file.
246
245
 
246
+ ### 0.16.4 - 2025-10-15
247
+
248
+ #### 🚀 Features
249
+
250
+ - Set units for viewer spawned from the view menu ([#1308](https://github.com/4DNucleome/PartSeg/pull/1308))
251
+ - Add saving color maps in OME tiffs ([#1312](https://github.com/4DNucleome/PartSeg/pull/1312))
252
+
253
+ #### 🐛 Bug Fixes
254
+
255
+ - Fit ROI shape to image to solve problem of saving data in batch process ([#1288](https://github.com/4DNucleome/PartSeg/pull/1288))
256
+ - If save dialog is used to select directory save it in history not parent ([#1289](https://github.com/4DNucleome/PartSeg/pull/1289))
257
+ - Fix `--pre` test by stopping using the deprecated `sentry_sdk` method ([#1304](https://github.com/4DNucleome/PartSeg/pull/1304))
258
+ - Fix saving in batch if the data is mask segmentation project ([#1309](https://github.com/4DNucleome/PartSeg/pull/1309))
259
+ - Clean elements outside mask for multiple otsu method ([#1319](https://github.com/4DNucleome/PartSeg/pull/1319))
260
+
261
+ #### 🧪 Testing
262
+
263
+ - [Automatic] Constraints upgrades: `pandas` ([#1285](https://github.com/4DNucleome/PartSeg/pull/1285))
264
+ - [Automatic] Constraints upgrades: `ipykernel`, `numpy`, `scipy`, `sentry-sdk` ([#1287](https://github.com/4DNucleome/PartSeg/pull/1287))
265
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipykernel`, `napari`, `sentry-sdk` ([#1290](https://github.com/4DNucleome/PartSeg/pull/1290))
266
+ - [Automatic] Constraints upgrades: `napari`, `psygnal`, `sentry-sdk`, `superqt` ([#1295](https://github.com/4DNucleome/PartSeg/pull/1295))
267
+ - [Automatic] Constraints upgrades: `pandas`, `requests` ([#1297](https://github.com/4DNucleome/PartSeg/pull/1297))
268
+ - [Automatic] Constraints upgrades: `ipython`, `numpy`, `pydantic`, `qtconsole`, `scipy`, `sentry-sdk`, `tifffile`, `xlsxwriter` ([#1301](https://github.com/4DNucleome/PartSeg/pull/1301))
269
+ - [Automatic] Constraints upgrades: `partsegcore-compiled-backend`, `psygnal`, `sentry-sdk` ([#1305](https://github.com/4DNucleome/PartSeg/pull/1305))
270
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `pandas`, `pydantic`, `tifffile` ([#1311](https://github.com/4DNucleome/PartSeg/pull/1311))
271
+ - [Automatic] Constraints upgrades: `pydantic`, `sentry-sdk` ([#1316](https://github.com/4DNucleome/PartSeg/pull/1316))
272
+
273
+ #### ⚙️ Miscellaneous Tasks
274
+
275
+ - [pre-commit.ci] pre-commit autoupdate ([#1286](https://github.com/4DNucleome/PartSeg/pull/1286))
276
+ - [pre-commit.ci] pre-commit autoupdate ([#1291](https://github.com/4DNucleome/PartSeg/pull/1291))
277
+ - [pre-commit.ci] pre-commit autoupdate ([#1296](https://github.com/4DNucleome/PartSeg/pull/1296))
278
+ - [pre-commit.ci] pre-commit autoupdate ([#1298](https://github.com/4DNucleome/PartSeg/pull/1298))
279
+ - Add more wait on coderabbit review ([#1300](https://github.com/4DNucleome/PartSeg/pull/1300))
280
+ - Use prek for initial check of code format ([#1299](https://github.com/4DNucleome/PartSeg/pull/1299))
281
+ - [pre-commit.ci] pre-commit autoupdate ([#1302](https://github.com/4DNucleome/PartSeg/pull/1302))
282
+ - Use most recent macOS images on GitHub Actions ([#1310](https://github.com/4DNucleome/PartSeg/pull/1310))
283
+ - [pre-commit.ci] pre-commit autoupdate ([#1306](https://github.com/4DNucleome/PartSeg/pull/1306))
284
+ - [pre-commit.ci] pre-commit autoupdate ([#1313](https://github.com/4DNucleome/PartSeg/pull/1313))
285
+ - Add cooldown of dependabot PR ([#1317](https://github.com/4DNucleome/PartSeg/pull/1317))
286
+ - Update licensing metadata to follow modern standards ([#1314](https://github.com/4DNucleome/PartSeg/pull/1314))
287
+ - Make test log more readable by using 120 columns and colors ([#1320](https://github.com/4DNucleome/PartSeg/pull/1320))
288
+ - [pre-commit.ci] pre-commit autoupdate ([#1318](https://github.com/4DNucleome/PartSeg/pull/1318))
289
+
290
+ #### 🛡️ Security
291
+
292
+ - *(deps)* Bump actions/download-artifact from 4 to 5 in the github-actions group ([#1292](https://github.com/4DNucleome/PartSeg/pull/1292))
293
+ - *(deps)* Bump pyvista/setup-headless-display-action from 3 to 4 ([#1294](https://github.com/4DNucleome/PartSeg/pull/1294))
294
+ - *(deps)* Bump actions/checkout from 4 to 5 in the github-actions group ([#1293](https://github.com/4DNucleome/PartSeg/pull/1293))
295
+ - *(deps)* Bump actions/setup-python from 5 to 6 in the github-actions group ([#1303](https://github.com/4DNucleome/PartSeg/pull/1303))
296
+
247
297
  ### 0.16.3 - 2025-07-10
248
298
 
249
299
  #### 🐛 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.4 - 2025-10-15
6
+
7
+ ### 🚀 Features
8
+
9
+ - Set units for viewer spawned from the view menu ([#1308](https://github.com/4DNucleome/PartSeg/pull/1308))
10
+ - Add saving color maps in OME tiffs ([#1312](https://github.com/4DNucleome/PartSeg/pull/1312))
11
+
12
+ ### 🐛 Bug Fixes
13
+
14
+ - Fit ROI shape to image to solve problem of saving data in batch process ([#1288](https://github.com/4DNucleome/PartSeg/pull/1288))
15
+ - If save dialog is used to select directory save it in history not parent ([#1289](https://github.com/4DNucleome/PartSeg/pull/1289))
16
+ - Fix `--pre` test by stopping using the deprecated `sentry_sdk` method ([#1304](https://github.com/4DNucleome/PartSeg/pull/1304))
17
+ - Fix saving in batch if the data is mask segmentation project ([#1309](https://github.com/4DNucleome/PartSeg/pull/1309))
18
+ - Clean elements outside mask for multiple otsu method ([#1319](https://github.com/4DNucleome/PartSeg/pull/1319))
19
+
20
+ ### 🧪 Testing
21
+
22
+ - [Automatic] Constraints upgrades: `pandas` ([#1285](https://github.com/4DNucleome/PartSeg/pull/1285))
23
+ - [Automatic] Constraints upgrades: `ipykernel`, `numpy`, `scipy`, `sentry-sdk` ([#1287](https://github.com/4DNucleome/PartSeg/pull/1287))
24
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipykernel`, `napari`, `sentry-sdk` ([#1290](https://github.com/4DNucleome/PartSeg/pull/1290))
25
+ - [Automatic] Constraints upgrades: `napari`, `psygnal`, `sentry-sdk`, `superqt` ([#1295](https://github.com/4DNucleome/PartSeg/pull/1295))
26
+ - [Automatic] Constraints upgrades: `pandas`, `requests` ([#1297](https://github.com/4DNucleome/PartSeg/pull/1297))
27
+ - [Automatic] Constraints upgrades: `ipython`, `numpy`, `pydantic`, `qtconsole`, `scipy`, `sentry-sdk`, `tifffile`, `xlsxwriter` ([#1301](https://github.com/4DNucleome/PartSeg/pull/1301))
28
+ - [Automatic] Constraints upgrades: `partsegcore-compiled-backend`, `psygnal`, `sentry-sdk` ([#1305](https://github.com/4DNucleome/PartSeg/pull/1305))
29
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `pandas`, `pydantic`, `tifffile` ([#1311](https://github.com/4DNucleome/PartSeg/pull/1311))
30
+ - [Automatic] Constraints upgrades: `pydantic`, `sentry-sdk` ([#1316](https://github.com/4DNucleome/PartSeg/pull/1316))
31
+
32
+ ### ⚙️ Miscellaneous Tasks
33
+
34
+ - [pre-commit.ci] pre-commit autoupdate ([#1286](https://github.com/4DNucleome/PartSeg/pull/1286))
35
+ - [pre-commit.ci] pre-commit autoupdate ([#1291](https://github.com/4DNucleome/PartSeg/pull/1291))
36
+ - [pre-commit.ci] pre-commit autoupdate ([#1296](https://github.com/4DNucleome/PartSeg/pull/1296))
37
+ - [pre-commit.ci] pre-commit autoupdate ([#1298](https://github.com/4DNucleome/PartSeg/pull/1298))
38
+ - Add more wait on coderabbit review ([#1300](https://github.com/4DNucleome/PartSeg/pull/1300))
39
+ - Use prek for initial check of code format ([#1299](https://github.com/4DNucleome/PartSeg/pull/1299))
40
+ - [pre-commit.ci] pre-commit autoupdate ([#1302](https://github.com/4DNucleome/PartSeg/pull/1302))
41
+ - Use most recent macOS images on GitHub Actions ([#1310](https://github.com/4DNucleome/PartSeg/pull/1310))
42
+ - [pre-commit.ci] pre-commit autoupdate ([#1306](https://github.com/4DNucleome/PartSeg/pull/1306))
43
+ - [pre-commit.ci] pre-commit autoupdate ([#1313](https://github.com/4DNucleome/PartSeg/pull/1313))
44
+ - Add cooldown of dependabot PR ([#1317](https://github.com/4DNucleome/PartSeg/pull/1317))
45
+ - Update licensing metadata to follow modern standards ([#1314](https://github.com/4DNucleome/PartSeg/pull/1314))
46
+ - Make test log more readable by using 120 columns and colors ([#1320](https://github.com/4DNucleome/PartSeg/pull/1320))
47
+ - [pre-commit.ci] pre-commit autoupdate ([#1318](https://github.com/4DNucleome/PartSeg/pull/1318))
48
+
49
+ ### 🛡️ Security
50
+
51
+ - *(deps)* Bump actions/download-artifact from 4 to 5 in the github-actions group ([#1292](https://github.com/4DNucleome/PartSeg/pull/1292))
52
+ - *(deps)* Bump pyvista/setup-headless-display-action from 3 to 4 ([#1294](https://github.com/4DNucleome/PartSeg/pull/1294))
53
+ - *(deps)* Bump actions/checkout from 4 to 5 in the github-actions group ([#1293](https://github.com/4DNucleome/PartSeg/pull/1293))
54
+ - *(deps)* Bump actions/setup-python from 5 to 6 in the github-actions group ([#1303](https://github.com/4DNucleome/PartSeg/pull/1303))
55
+
5
56
  ## 0.16.3 - 2025-07-10
6
57
 
7
58
  ### 🐛 Bug Fixes
@@ -687,7 +687,7 @@ class AlgorithmOptions(QWidget):
687
687
  settings=self.settings,
688
688
  system_widget=False,
689
689
  path="io.save_batch",
690
- file_mode=PSaveDialog.Directory,
690
+ file_mode=PSaveDialog.FileMode.Directory,
691
691
  )
692
692
  if not dial.exec_():
693
693
  return
@@ -218,6 +218,7 @@ class StackSettings(BaseSettings):
218
218
  """
219
219
 
220
220
  # TODO Refactor
221
+ new_roi_info = new_roi_info.fit_to_image(state.image)
221
222
  if not save_chosen or state.roi_info.roi is None or len(state.selected_components) == 0:
222
223
  return dataclasses.replace(
223
224
  state,
@@ -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.4 - 2025-10-15
7
+
8
+ ### 🚀 Features
9
+
10
+ - Set units for viewer spawned from the view menu ([#1308](https://github.com/4DNucleome/PartSeg/pull/1308))
11
+ - Add saving color maps in OME tiffs ([#1312](https://github.com/4DNucleome/PartSeg/pull/1312))
12
+
13
+ ### 🐛 Bug Fixes
14
+
15
+ - Fit ROI shape to image to solve problem of saving data in batch process ([#1288](https://github.com/4DNucleome/PartSeg/pull/1288))
16
+ - If save dialog is used to select directory save it in history not parent ([#1289](https://github.com/4DNucleome/PartSeg/pull/1289))
17
+ - Fix `--pre` test by stopping using the deprecated `sentry_sdk` method ([#1304](https://github.com/4DNucleome/PartSeg/pull/1304))
18
+ - Fix saving in batch if the data is mask segmentation project ([#1309](https://github.com/4DNucleome/PartSeg/pull/1309))
19
+ - Clean elements outside mask for multiple otsu method ([#1319](https://github.com/4DNucleome/PartSeg/pull/1319))
20
+
21
+ ### 🧪 Testing
22
+
23
+ - [Automatic] Constraints upgrades: `pandas` ([#1285](https://github.com/4DNucleome/PartSeg/pull/1285))
24
+ - [Automatic] Constraints upgrades: `ipykernel`, `numpy`, `scipy`, `sentry-sdk` ([#1287](https://github.com/4DNucleome/PartSeg/pull/1287))
25
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipykernel`, `napari`, `sentry-sdk` ([#1290](https://github.com/4DNucleome/PartSeg/pull/1290))
26
+ - [Automatic] Constraints upgrades: `napari`, `psygnal`, `sentry-sdk`, `superqt` ([#1295](https://github.com/4DNucleome/PartSeg/pull/1295))
27
+ - [Automatic] Constraints upgrades: `pandas`, `requests` ([#1297](https://github.com/4DNucleome/PartSeg/pull/1297))
28
+ - [Automatic] Constraints upgrades: `ipython`, `numpy`, `pydantic`, `qtconsole`, `scipy`, `sentry-sdk`, `tifffile`, `xlsxwriter` ([#1301](https://github.com/4DNucleome/PartSeg/pull/1301))
29
+ - [Automatic] Constraints upgrades: `partsegcore-compiled-backend`, `psygnal`, `sentry-sdk` ([#1305](https://github.com/4DNucleome/PartSeg/pull/1305))
30
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `pandas`, `pydantic`, `tifffile` ([#1311](https://github.com/4DNucleome/PartSeg/pull/1311))
31
+ - [Automatic] Constraints upgrades: `pydantic`, `sentry-sdk` ([#1316](https://github.com/4DNucleome/PartSeg/pull/1316))
32
+
33
+ ### ⚙️ Miscellaneous Tasks
34
+
35
+ - [pre-commit.ci] pre-commit autoupdate ([#1286](https://github.com/4DNucleome/PartSeg/pull/1286))
36
+ - [pre-commit.ci] pre-commit autoupdate ([#1291](https://github.com/4DNucleome/PartSeg/pull/1291))
37
+ - [pre-commit.ci] pre-commit autoupdate ([#1296](https://github.com/4DNucleome/PartSeg/pull/1296))
38
+ - [pre-commit.ci] pre-commit autoupdate ([#1298](https://github.com/4DNucleome/PartSeg/pull/1298))
39
+ - Add more wait on coderabbit review ([#1300](https://github.com/4DNucleome/PartSeg/pull/1300))
40
+ - Use prek for initial check of code format ([#1299](https://github.com/4DNucleome/PartSeg/pull/1299))
41
+ - [pre-commit.ci] pre-commit autoupdate ([#1302](https://github.com/4DNucleome/PartSeg/pull/1302))
42
+ - Use most recent macOS images on GitHub Actions ([#1310](https://github.com/4DNucleome/PartSeg/pull/1310))
43
+ - [pre-commit.ci] pre-commit autoupdate ([#1306](https://github.com/4DNucleome/PartSeg/pull/1306))
44
+ - [pre-commit.ci] pre-commit autoupdate ([#1313](https://github.com/4DNucleome/PartSeg/pull/1313))
45
+ - Add cooldown of dependabot PR ([#1317](https://github.com/4DNucleome/PartSeg/pull/1317))
46
+ - Update licensing metadata to follow modern standards ([#1314](https://github.com/4DNucleome/PartSeg/pull/1314))
47
+ - Make test log more readable by using 120 columns and colors ([#1320](https://github.com/4DNucleome/PartSeg/pull/1320))
48
+ - [pre-commit.ci] pre-commit autoupdate ([#1318](https://github.com/4DNucleome/PartSeg/pull/1318))
49
+
50
+ ### 🛡️ Security
51
+
52
+ - *(deps)* Bump actions/download-artifact from 4 to 5 in the github-actions group ([#1292](https://github.com/4DNucleome/PartSeg/pull/1292))
53
+ - *(deps)* Bump pyvista/setup-headless-display-action from 3 to 4 ([#1294](https://github.com/4DNucleome/PartSeg/pull/1294))
54
+ - *(deps)* Bump actions/checkout from 4 to 5 in the github-actions group ([#1293](https://github.com/4DNucleome/PartSeg/pull/1293))
55
+ - *(deps)* Bump actions/setup-python from 5 to 6 in the github-actions group ([#1303](https://github.com/4DNucleome/PartSeg/pull/1303))
56
+
6
57
  ## 0.16.3 - 2025-07-10
7
58
 
8
59
  ### 🐛 Bug Fixes
@@ -11,8 +11,12 @@ if TYPE_CHECKING: # pragma: no cover
11
11
 
12
12
 
13
13
  def napari_get_settings(path=None) -> "NapariSettings":
14
+ from napari.utils import theme # noqa: PLC0415 I001
14
15
  from napari.settings import get_settings as _napari_get_settings # noqa: PLC0415
15
16
 
17
+ del theme # skipcq: PTC-W0043
18
+ # Need to import theme before settings to work around the circular import
19
+ # error in napari==0.6.5.
16
20
  if path is not None:
17
21
  path = os.path.join(path, "settings.yaml")
18
22
  if path is not None:
@@ -136,20 +136,21 @@ def _setup_sentry(): # pragma: no cover
136
136
  state_store.report_errors = False
137
137
  return
138
138
  sentry_sdk.utils.MAX_STRING_LENGTH = 10**4
139
- sentry_sdk.utils.DEFAULT_MAX_VALUE_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
140
141
  sentry_sdk.serializer.safe_repr = safe_repr
141
142
  sentry_sdk.serializer.MAX_DATABAG_BREADTH = 100
142
143
  init_kwargs = {"release": f"PartSeg@{__version__}"}
143
144
  if SENTRY_GE_1_29:
144
- init_kwargs["max_value_length"] = 10**4
145
+ init_kwargs["max_value_length"] = sentry_sdk.utils.DEFAULT_MAX_VALUE_LENGTH
145
146
  sentry_sdk.init(
146
147
  state_store.sentry_url,
147
148
  **init_kwargs,
148
149
  )
149
- with sentry_sdk.configure_scope() as scope:
150
- scope.set_user(
151
- {
152
- "name": getpass.getuser(),
153
- "id": zlib.adler32(f"{getpass.getuser()}#{platform.node()}".encode()),
154
- }
155
- )
150
+ scope = sentry_sdk.get_current_scope()
151
+ scope.set_user(
152
+ {
153
+ "name": getpass.getuser(),
154
+ "id": zlib.adler32(f"{getpass.getuser()}#{platform.node()}".encode()),
155
+ }
156
+ )
@@ -184,7 +184,10 @@ class PSaveDialog(CustomSaveDialog):
184
184
  super().accept()
185
185
  if self.result() != QDialog.DialogCode.Accepted:
186
186
  return
187
- directory = os.path.dirname(self.selectedFiles()[0])
187
+ if self.fileMode() == QFileDialog.FileMode.Directory:
188
+ directory = self.selectedFiles()[0]
189
+ else:
190
+ directory = os.path.dirname(self.selectedFiles()[0])
188
191
  self.settings.add_path_history(directory)
189
192
  self.settings.set(self.path_in_dict, directory)
190
193
  if self.filter_path:
@@ -228,6 +228,7 @@ class BaseMainWindow(QMainWindow):
228
228
 
229
229
  def napari_viewer_show(self):
230
230
  viewer = Viewer(title="Additional output", settings=self.settings, partseg_viewer_name=self.channel_info)
231
+ viewer.scale_bar.unit = "nm"
231
232
  viewer.theme = self.settings.theme_name
232
233
  viewer.create_initial_layers(image=True, roi=True, additional_layers=False, points=True)
233
234
  self.viewer_list.append(viewer)
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '0.16.4rc0'
32
+ __version_tuple__ = version_tuple = (0, 16, 4, 'rc0')
33
+
34
+ __commit_id__ = commit_id = 'g6bbca315b'
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PartSeg
3
- Version: 0.16.3
3
+ Version: 0.16.4rc0
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
- License: BSD-3-Clause
6
+ License-Expression: BSD-3-Clause
7
7
  Project-URL: Homepage, https://partseg.github.io/
8
8
  Project-URL: Documentation, https://partseg.readthedocs.io/en/stable/
9
9
  Project-URL: Source Code, https://github.com/4DNucleome/PartSeg
@@ -15,7 +15,6 @@ Platform: Windows
15
15
  Platform: MacOs
16
16
  Classifier: Development Status :: 3 - Alpha
17
17
  Classifier: Framework :: napari
18
- Classifier: License :: OSI Approved :: BSD License
19
18
  Classifier: Operating System :: OS Independent
20
19
  Classifier: Programming Language :: Python :: 3
21
20
  Classifier: Programming Language :: Python :: 3 :: Only
@@ -45,9 +44,9 @@ Requires-Dist: imagecodecs>=2020.5.30
45
44
  Requires-Dist: imageio>=2.20.0
46
45
  Requires-Dist: ipykernel>=5.2.0
47
46
  Requires-Dist: local-migrator>=0.1.7
48
- Requires-Dist: magicgui!=0.5.0,>=0.4.0
47
+ Requires-Dist: magicgui>=0.7.0
49
48
  Requires-Dist: mahotas>=1.4.12
50
- Requires-Dist: napari>=0.4.19
49
+ Requires-Dist: napari>=0.5.0
51
50
  Requires-Dist: nme>=0.1.7
52
51
  Requires-Dist: numpy>=1.22.2; python_version >= "3.10"
53
52
  Requires-Dist: numpy<2,>=1.22.2; python_version < "3.10"
@@ -55,7 +54,7 @@ Requires-Dist: oiffile>=2020.1.18
55
54
  Requires-Dist: openpyxl>=3.0.7
56
55
  Requires-Dist: packaging>=22.0
57
56
  Requires-Dist: pandas>=1.3.0
58
- Requires-Dist: psygnal>=0.3.4
57
+ Requires-Dist: psygnal>=0.5.0
59
58
  Requires-Dist: pydantic<3,>=1.9.1
60
59
  Requires-Dist: pygments>=2.12.0
61
60
  Requires-Dist: qtconsole>=4.7.7
@@ -63,9 +62,9 @@ Requires-Dist: requests>=2.25.0
63
62
  Requires-Dist: scipy>=1.5.4
64
63
  Requires-Dist: sentry-sdk>=2.4.0
65
64
  Requires-Dist: six>=1.11.0
66
- Requires-Dist: superqt>=0.4.1
65
+ Requires-Dist: superqt>=0.6.7
67
66
  Requires-Dist: sympy>=1.10
68
- Requires-Dist: tifffile>=2020.9.30
67
+ Requires-Dist: tifffile>=2022.4.8
69
68
  Requires-Dist: traceback-with-variables>=2.0.4
70
69
  Requires-Dist: vispy>=0.14.1
71
70
  Requires-Dist: xlrd>=1.1.0
@@ -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.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)
153
+ - [Windows](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.4rc0/PartSeg-0.16.4rc0-windows.zip) (build on Windows 10)
154
+ - [Linux](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.4rc0/PartSeg-0.16.4rc0-linux.zip) (build on Ubuntu 20.04)
155
+ - [macOS](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.4rc0/PartSeg-0.16.4rc0-macos.zip) (build on macOS 13)
156
+ - [macOS arm](https://github.com/4DNucleome/PartSeg/releases/download/v0.16.4rc0/PartSeg-0.16.4rc0-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:
@@ -244,6 +243,57 @@ from 3D microscopy images for dummies. BMC Bioinformatics 22, 72 (2021).
244
243
 
245
244
  All notable changes to this project will be documented in this file.
246
245
 
246
+ ### 0.16.4 - 2025-10-15
247
+
248
+ #### 🚀 Features
249
+
250
+ - Set units for viewer spawned from the view menu ([#1308](https://github.com/4DNucleome/PartSeg/pull/1308))
251
+ - Add saving color maps in OME tiffs ([#1312](https://github.com/4DNucleome/PartSeg/pull/1312))
252
+
253
+ #### 🐛 Bug Fixes
254
+
255
+ - Fit ROI shape to image to solve problem of saving data in batch process ([#1288](https://github.com/4DNucleome/PartSeg/pull/1288))
256
+ - If save dialog is used to select directory save it in history not parent ([#1289](https://github.com/4DNucleome/PartSeg/pull/1289))
257
+ - Fix `--pre` test by stopping using the deprecated `sentry_sdk` method ([#1304](https://github.com/4DNucleome/PartSeg/pull/1304))
258
+ - Fix saving in batch if the data is mask segmentation project ([#1309](https://github.com/4DNucleome/PartSeg/pull/1309))
259
+ - Clean elements outside mask for multiple otsu method ([#1319](https://github.com/4DNucleome/PartSeg/pull/1319))
260
+
261
+ #### 🧪 Testing
262
+
263
+ - [Automatic] Constraints upgrades: `pandas` ([#1285](https://github.com/4DNucleome/PartSeg/pull/1285))
264
+ - [Automatic] Constraints upgrades: `ipykernel`, `numpy`, `scipy`, `sentry-sdk` ([#1287](https://github.com/4DNucleome/PartSeg/pull/1287))
265
+ - [Automatic] Constraints upgrades: `imagecodecs`, `ipykernel`, `napari`, `sentry-sdk` ([#1290](https://github.com/4DNucleome/PartSeg/pull/1290))
266
+ - [Automatic] Constraints upgrades: `napari`, `psygnal`, `sentry-sdk`, `superqt` ([#1295](https://github.com/4DNucleome/PartSeg/pull/1295))
267
+ - [Automatic] Constraints upgrades: `pandas`, `requests` ([#1297](https://github.com/4DNucleome/PartSeg/pull/1297))
268
+ - [Automatic] Constraints upgrades: `ipython`, `numpy`, `pydantic`, `qtconsole`, `scipy`, `sentry-sdk`, `tifffile`, `xlsxwriter` ([#1301](https://github.com/4DNucleome/PartSeg/pull/1301))
269
+ - [Automatic] Constraints upgrades: `partsegcore-compiled-backend`, `psygnal`, `sentry-sdk` ([#1305](https://github.com/4DNucleome/PartSeg/pull/1305))
270
+ - [Automatic] Constraints upgrades: `ipython`, `napari`, `pandas`, `pydantic`, `tifffile` ([#1311](https://github.com/4DNucleome/PartSeg/pull/1311))
271
+ - [Automatic] Constraints upgrades: `pydantic`, `sentry-sdk` ([#1316](https://github.com/4DNucleome/PartSeg/pull/1316))
272
+
273
+ #### ⚙️ Miscellaneous Tasks
274
+
275
+ - [pre-commit.ci] pre-commit autoupdate ([#1286](https://github.com/4DNucleome/PartSeg/pull/1286))
276
+ - [pre-commit.ci] pre-commit autoupdate ([#1291](https://github.com/4DNucleome/PartSeg/pull/1291))
277
+ - [pre-commit.ci] pre-commit autoupdate ([#1296](https://github.com/4DNucleome/PartSeg/pull/1296))
278
+ - [pre-commit.ci] pre-commit autoupdate ([#1298](https://github.com/4DNucleome/PartSeg/pull/1298))
279
+ - Add more wait on coderabbit review ([#1300](https://github.com/4DNucleome/PartSeg/pull/1300))
280
+ - Use prek for initial check of code format ([#1299](https://github.com/4DNucleome/PartSeg/pull/1299))
281
+ - [pre-commit.ci] pre-commit autoupdate ([#1302](https://github.com/4DNucleome/PartSeg/pull/1302))
282
+ - Use most recent macOS images on GitHub Actions ([#1310](https://github.com/4DNucleome/PartSeg/pull/1310))
283
+ - [pre-commit.ci] pre-commit autoupdate ([#1306](https://github.com/4DNucleome/PartSeg/pull/1306))
284
+ - [pre-commit.ci] pre-commit autoupdate ([#1313](https://github.com/4DNucleome/PartSeg/pull/1313))
285
+ - Add cooldown of dependabot PR ([#1317](https://github.com/4DNucleome/PartSeg/pull/1317))
286
+ - Update licensing metadata to follow modern standards ([#1314](https://github.com/4DNucleome/PartSeg/pull/1314))
287
+ - Make test log more readable by using 120 columns and colors ([#1320](https://github.com/4DNucleome/PartSeg/pull/1320))
288
+ - [pre-commit.ci] pre-commit autoupdate ([#1318](https://github.com/4DNucleome/PartSeg/pull/1318))
289
+
290
+ #### 🛡️ Security
291
+
292
+ - *(deps)* Bump actions/download-artifact from 4 to 5 in the github-actions group ([#1292](https://github.com/4DNucleome/PartSeg/pull/1292))
293
+ - *(deps)* Bump pyvista/setup-headless-display-action from 3 to 4 ([#1294](https://github.com/4DNucleome/PartSeg/pull/1294))
294
+ - *(deps)* Bump actions/checkout from 4 to 5 in the github-actions group ([#1293](https://github.com/4DNucleome/PartSeg/pull/1293))
295
+ - *(deps)* Bump actions/setup-python from 5 to 6 in the github-actions group ([#1303](https://github.com/4DNucleome/PartSeg/pull/1303))
296
+
247
297
  ### 0.16.3 - 2025-07-10
248
298
 
249
299
  #### 🐛 Bug Fixes
@@ -13,15 +13,15 @@ imagecodecs>=2020.5.30
13
13
  imageio>=2.20.0
14
14
  ipykernel>=5.2.0
15
15
  local-migrator>=0.1.7
16
- magicgui!=0.5.0,>=0.4.0
16
+ magicgui>=0.7.0
17
17
  mahotas>=1.4.12
18
- napari>=0.4.19
18
+ napari>=0.5.0
19
19
  nme>=0.1.7
20
20
  oiffile>=2020.1.18
21
21
  openpyxl>=3.0.7
22
22
  packaging>=22.0
23
23
  pandas>=1.3.0
24
- psygnal>=0.3.4
24
+ psygnal>=0.5.0
25
25
  pydantic<3,>=1.9.1
26
26
  pygments>=2.12.0
27
27
  qtconsole>=4.7.7
@@ -29,9 +29,9 @@ requests>=2.25.0
29
29
  scipy>=1.5.4
30
30
  sentry-sdk>=2.4.0
31
31
  six>=1.11.0
32
- superqt>=0.4.1
32
+ superqt>=0.6.7
33
33
  sympy>=1.10
34
- tifffile>=2020.9.30
34
+ tifffile>=2022.4.8
35
35
  traceback-with-variables>=2.0.4
36
36
  vispy>=0.14.1
37
37
  xlrd>=1.1.0
@@ -209,6 +209,8 @@ class CalculationProcess:
209
209
  if isinstance(projects, ProjectTuple):
210
210
  projects = [projects]
211
211
  for project in projects:
212
+ sub_calculation = FileCalculation(project.image.file_path, calculation.calculation)
213
+ self.calculation = sub_calculation
212
214
  try:
213
215
  self.image = project.image
214
216
  if calculation.overwrite_voxel_size:
@@ -223,14 +225,16 @@ class CalculationProcess:
223
225
  self.history = project.history
224
226
  self.algorithm_parameters = project.algorithm_parameters
225
227
 
226
- self.iterate_over(calculation.calculation_plan.execution_tree)
228
+ self.iterate_over(sub_calculation.calculation_plan.execution_tree)
227
229
  for el in self.measurement:
228
- el.set_filename(path.relpath(project.image.file_path, calculation.base_prefix))
230
+ el.set_filename(path.relpath(project.image.file_path, sub_calculation.base_prefix))
229
231
  self.results.append(
230
- ResponseData(path.relpath(project.image.file_path, calculation.base_prefix), self.measurement)
232
+ ResponseData(path.relpath(project.image.file_path, sub_calculation.base_prefix), self.measurement)
231
233
  )
232
234
  except Exception as e: # pylint: disable=broad-except
233
235
  self.results.append(prepare_error_data(e))
236
+ finally:
237
+ self.calculation = calculation
234
238
  self._reset_image_cache()
235
239
  return self.results
236
240
 
@@ -2,10 +2,12 @@ import sys
2
2
  from abc import ABC
3
3
  from collections.abc import Iterable
4
4
  from enum import Enum
5
+ from importlib.metadata import version
5
6
  from typing import Any, ClassVar, ForwardRef, Optional, Union
6
7
 
7
8
  import numpy as np
8
9
  from local_migrator import REGISTER, class_to_str, register_class, rename_key
10
+ from packaging.version import parse as parse_version
9
11
  from pydantic import Field, validator
10
12
  from sympy import Symbol, symbols
11
13
 
@@ -19,6 +21,8 @@ from PartSegCore.utils import BaseModel
19
21
  from PartSegImage import Channel
20
22
  from PartSegImage.image import Spacing
21
23
 
24
+ PYDANTIC_2 = parse_version(version("pydantic")) >= parse_version("2.0.0")
25
+
22
26
 
23
27
  @register_class(
24
28
  old_paths=[
@@ -306,7 +310,10 @@ class Node(BaseModel):
306
310
  return self.left.need_mask() or self.right.need_mask()
307
311
 
308
312
 
309
- Node.update_forward_refs()
313
+ if PYDANTIC_2:
314
+ Node.model_rebuild()
315
+ else:
316
+ Node.update_forward_refs()
310
317
 
311
318
 
312
319
  @register_class(
@@ -642,6 +642,8 @@ class OtsuSegment(RestartableAlgorithm):
642
642
  self.new_parameters.valley,
643
643
  )
644
644
  res = SimpleITK.GetArrayFromImage(res)
645
+ if self.mask is not None:
646
+ res[self.mask == 0] = 0
645
647
  self._sizes_array = np.bincount(res.flat)[1:]
646
648
  self.threshold_info = []
647
649
  annotations = {}