small-fish-gui 1.3.0__tar.gz → 1.3.1__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.
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/PKG-INFO +1 -1
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/pyproject.toml +1 -1
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/__init__.py +1 -1
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/_napari_wrapper.py +4 -2
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/detection.py +3 -1
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/LICENSE +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/README.md +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/.github/workflows/python-publish.yml +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/LICENSE +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/README.md +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/Segmentation example.jpg +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/__main__.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/__init__.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/animation.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/general_help_screenshot.png +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/help_module.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/layout.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/mapping_help_screenshot.png +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/prompts.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/segmentation_help_screenshot.png +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/test.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/interface/__init__.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/interface/image.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/interface/output.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/interface/parameters.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/interface/testing.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/napari_detection_example.png +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/_colocalisation.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/_custom_errors.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/_preprocess.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/_segmentation.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/_signaltonoise.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/actions.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/main.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/spots.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/test.py +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/requirements.txt +0 -0
- {small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: small_fish_gui
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.1
|
|
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: Issues, https://github.com/2Echoes/small_fish/issues
|
{small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/_napari_wrapper.py
RENAMED
|
@@ -173,14 +173,15 @@ def show_segmentation(
|
|
|
173
173
|
|
|
174
174
|
#Adding labels
|
|
175
175
|
if type(cyto_image) != type(None) : Viewer.add_image(cyto_image, name= "cytoplasm signal", blending= 'additive', colormap='red', contrast_limits=[cyto_image.min(), cyto_image.max()])
|
|
176
|
-
if type(cyto_label) != type(None) : Viewer.add_labels(cyto_label, opacity= 0.4, blending= 'additive')
|
|
176
|
+
if type(cyto_label) != type(None) and not np.array_equal(cyto_label, nuc_label): Viewer.add_labels(cyto_label, opacity= 0.4, blending= 'additive')
|
|
177
177
|
|
|
178
178
|
#Launch Napari
|
|
179
179
|
Viewer.show(block=False)
|
|
180
180
|
napari.run()
|
|
181
181
|
|
|
182
182
|
new_nuc_label = Viewer.layers[1].data
|
|
183
|
-
if type(cyto_label) != type(None) : new_cyto_label = Viewer.layers[3].data
|
|
183
|
+
if type(cyto_label) != type(None) and not np.array_equal(cyto_label, nuc_label) : new_cyto_label = Viewer.layers[3].data
|
|
184
|
+
else : new_cyto_label = new_nuc_label
|
|
184
185
|
|
|
185
186
|
return new_nuc_label, new_cyto_label
|
|
186
187
|
|
|
@@ -197,6 +198,7 @@ def threshold_selection(
|
|
|
197
198
|
To view code for spot selection please have a look at magicgui instance created with `detection._create_threshold_slider` which is then passed to this napari wrapper as 'threshold_slider' argument.
|
|
198
199
|
"""
|
|
199
200
|
|
|
201
|
+
print(voxel_size)
|
|
200
202
|
|
|
201
203
|
Viewer = napari.Viewer(title= "Small fish - Threshold selector", ndisplay=2, show=True)
|
|
202
204
|
Viewer.add_image(
|
|
@@ -763,8 +763,10 @@ def _create_threshold_slider(
|
|
|
763
763
|
mask_local_max=local_maxima,
|
|
764
764
|
threshold=threshold
|
|
765
765
|
)[0]
|
|
766
|
+
|
|
767
|
+
print(voxel_size)
|
|
766
768
|
layer_args = {
|
|
767
|
-
'size':
|
|
769
|
+
'size': 5,
|
|
768
770
|
'scale' : voxel_size,
|
|
769
771
|
'face_color' : 'transparent',
|
|
770
772
|
'edge_color' : 'blue',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/general_help_screenshot.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/gui/mapping_help_screenshot.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/napari_detection_example.png
RENAMED
|
File without changes
|
{small_fish_gui-1.3.0 → small_fish_gui-1.3.1}/src/small_fish_gui/pipeline/_colocalisation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|