small-fish-gui 1.10.3__tar.gz → 1.10.4__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 (50) hide show
  1. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/PKG-INFO +2 -1
  2. small_fish_gui-1.10.4/error_log.txt +9 -0
  3. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/pyproject.toml +2 -2
  4. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/__init__.py +1 -1
  5. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/_napari_widgets.py +3 -2
  6. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/detection.py +3 -3
  7. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/requirements.txt +2 -1
  8. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/LICENSE +0 -0
  9. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/README.md +0 -0
  10. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/.github/workflows/python-publish.yml +0 -0
  11. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/LICENSE +0 -0
  12. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/README.md +0 -0
  13. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/__main__.py +0 -0
  14. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/__init__.py +0 -0
  15. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/input.py +0 -0
  16. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/integrity.py +0 -0
  17. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/pipeline.py +0 -0
  18. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/prompt.py +0 -0
  19. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/test.py +0 -0
  20. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/update.py +0 -0
  21. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/utils.py +0 -0
  22. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/values.txt +0 -0
  23. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/__init__.py +0 -0
  24. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/animation.py +0 -0
  25. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/layout.py +0 -0
  26. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/napari_visualiser.py +0 -0
  27. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/prompts.py +0 -0
  28. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/screenshot/general_help_screenshot.png +0 -0
  29. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/screenshot/mapping_help_screenshot.png +0 -0
  30. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/screenshot/segmentation_help_screenshot.png +0 -0
  31. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/testing.ipynb +0 -0
  32. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/theme.py +0 -0
  33. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/hints.py +0 -0
  34. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/interface/__init__.py +0 -0
  35. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/interface/image.py +0 -0
  36. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/interface/inoutput.py +0 -0
  37. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/interface/testing.py +0 -0
  38. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/__init__.py +0 -0
  39. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_colocalisation.py +0 -0
  40. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_custom_errors.py +0 -0
  41. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_preprocess.py +0 -0
  42. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_signaltonoise.py +0 -0
  43. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/actions.py +0 -0
  44. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/main.py +0 -0
  45. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/segmentation.py +0 -0
  46. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/spots.py +0 -0
  47. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/test.py +0 -0
  48. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/testing.ipynb +0 -0
  49. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/utils.py +0 -0
  50. {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: small_fish_gui
3
- Version: 1.10.3
3
+ Version: 1.10.4
4
4
  Summary: Small Fish is a python application for the analysis of smFish images. It provides a ready to use graphical interface to combine famous python packages for cell analysis without any need for coding.
5
5
  Project-URL: Homepage, https://github.com/2Echoes/small_fish
6
6
  Project-URL: Wiki, https://github.com/2Echoes/small_fish_gui/wiki
@@ -12,6 +12,7 @@ Classifier: Operating System :: OS Independent
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Requires-Python: >=3.9
14
14
  Requires-Dist: aicsimageio>=4.14.0
15
+ Requires-Dist: aicspylibczi==3.3.1
15
16
  Requires-Dist: big-fish==0.6.2
16
17
  Requires-Dist: cellpose==3.0.7
17
18
  Requires-Dist: czifile==2019.7.2
@@ -0,0 +1,9 @@
1
+ version 1.10.3error : 'voxel_size_z'traceback :
2
+ Traceback (most recent call last):
3
+ File "/home/floric/miniconda3/envs/dev/lib/python3.9/site-packages/small_fish_gui/pipeline/main.py", line 40, in <module>
4
+ new_result_df, new_cell_result_df, acquisition_id, user_parameters = add_detection(
5
+ File "/home/floric/miniconda3/envs/dev/lib/python3.9/site-packages/small_fish_gui/pipeline/actions.py", line 75, in add_detection
6
+ detection_parameters = initiate_detection(
7
+ File "/home/floric/miniconda3/envs/dev/lib/python3.9/site-packages/small_fish_gui/pipeline/detection.py", line 227, in initiate_detection
8
+ detection_parameters['spot_size_z'] = round(detection_parameters['voxel_size_z']*1.5) if isinstance(detection_parameters['voxel_size_z'], (float,int)) else None
9
+ KeyError: 'voxel_size_z'
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "small_fish_gui"
7
- version = "1.10.3"
7
+ version = "1.10.4"
8
8
  authors = [
9
9
  { name="Slimani Floric", email="floric.slimani@live.com" },
10
10
  ]
@@ -35,7 +35,7 @@ dependencies = [
35
35
  "openpyxl==3.1.2",
36
36
  "pyarrow==11.0.0",
37
37
  "aicsimageio>=4.14.0",
38
-
38
+ "aicspylibczi==3.3.1",
39
39
  ]
40
40
 
41
41
  [project.urls]
@@ -37,7 +37,7 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37
37
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
38
38
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39
39
  """
40
- __version__ = "1.10.3"
40
+ __version__ = "1.10.4"
41
41
  __wiki__ = "https://github.com/2Echoes/small_fish_gui/wiki"
42
42
 
43
43
  import os
@@ -56,7 +56,7 @@ class ClusterWizard(ABC) :
56
56
  CLUSTER_WIZARDS = []
57
57
  def register_cluster_wizard(cls):
58
58
  """
59
- Helper to register all clusters related class
59
+ Helper to register all clusters related wizard class. Object to be instanciated upon launching napari but that have no widget.
60
60
  """
61
61
  CLUSTER_WIZARDS.append(cls)
62
62
  return cls
@@ -198,6 +198,8 @@ class ClusterIDSetter(ClusterWidget) :
198
198
  new_spot_number = len(self.single_layer.features.loc[self.single_layer.features['cluster_id'] == cluster_id])
199
199
  self.cluster_layer.features.loc[self.cluster_layer.features['cluster_id'] == cluster_id, ["spot_number"]] = new_spot_number
200
200
  self.cluster_layer.events.features()
201
+ else :
202
+ print(f"Not cluster with id {cluster_id} was found.")
201
203
 
202
204
  self.cluster_layer.selected_data.clear()
203
205
 
@@ -490,7 +492,6 @@ class ClusterCleaner(ClusterWizard) :
490
492
 
491
493
  def delete_empty_cluster() :
492
494
  drop_idx = self.cluster_layer.features[self.cluster_layer.features['spot_number'] == 0].index
493
- print("drop_idx : ",drop_idx)
494
495
 
495
496
  if len(drop_idx) > 0 :
496
497
  print("Removing {} empty cluster(s)".format(len(drop_idx)))
@@ -218,9 +218,9 @@ def initiate_detection(user_parameters : pipeline_parameters, map_, shape) :
218
218
  pass
219
219
  else :
220
220
  detection_parameters['voxel_size'] = [round(v) if isinstance(v, (float,int)) else None for v in voxel_size]
221
- detection_parameters['voxel_size_z'] = detection_parameters['voxel_size'][0]
222
- detection_parameters['voxel_size_y'] = detection_parameters['voxel_size'][1]
223
- detection_parameters['voxel_size_x'] = detection_parameters['voxel_size'][2]
221
+ detection_parameters['voxel_size_z'] = detection_parameters['voxel_size'][0] if isinstance(detection_parameters['voxel_size'][0], (float,int)) else None
222
+ detection_parameters['voxel_size_y'] = detection_parameters['voxel_size'][1] if isinstance(detection_parameters['voxel_size'][1], (float,int)) else None
223
+ detection_parameters['voxel_size_x'] = detection_parameters['voxel_size'][2] if isinstance(detection_parameters['voxel_size'][2], (float,int)) else None
224
224
 
225
225
  #Setting default spot size to 1.5 voxel
226
226
  if detection_parameters.get('spot_size') is None :
@@ -15,4 +15,5 @@ scikit-image==0.19.1
15
15
  scikit-learn==1.3.2
16
16
  openpyxl>=3.1.2
17
17
  pyarrow>=11.0.0
18
- aicsimageio>=aicsimageio==4.14.0
18
+ aicsimageio>=aicsimageio==4.14.0
19
+ aicspylibczi==3.3.1
File without changes