small-fish-gui 1.3.1__tar.gz → 1.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/PKG-INFO +1 -1
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/pyproject.toml +1 -1
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/__init__.py +1 -1
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/_napari_wrapper.py +0 -2
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/detection.py +8 -7
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/LICENSE +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/README.md +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/.github/workflows/python-publish.yml +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/LICENSE +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/README.md +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/Segmentation example.jpg +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/__main__.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/__init__.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/animation.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/general_help_screenshot.png +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/help_module.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/layout.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/mapping_help_screenshot.png +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/prompts.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/segmentation_help_screenshot.png +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/test.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/interface/__init__.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/interface/image.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/interface/output.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/interface/parameters.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/interface/testing.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/napari_detection_example.png +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/_colocalisation.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/_custom_errors.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/_preprocess.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/_segmentation.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/_signaltonoise.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/actions.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/main.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/spots.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/test.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/src/small_fish_gui/requirements.txt +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/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.3
|
|
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.1 → small_fish_gui-1.3.3}/src/small_fish_gui/pipeline/_napari_wrapper.py
RENAMED
|
@@ -198,8 +198,6 @@ def threshold_selection(
|
|
|
198
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.
|
|
199
199
|
"""
|
|
200
200
|
|
|
201
|
-
print(voxel_size)
|
|
202
|
-
|
|
203
201
|
Viewer = napari.Viewer(title= "Small fish - Threshold selector", ndisplay=2, show=True)
|
|
204
202
|
Viewer.add_image(
|
|
205
203
|
data= image,
|
|
@@ -327,8 +327,8 @@ def _launch_detection(image, image_input_values: dict) :
|
|
|
327
327
|
logfiltered_image=filtered_image,
|
|
328
328
|
local_maxima=local_maxima,
|
|
329
329
|
default=threshold,
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
min_value=filtered_image[local_maxima].min(),
|
|
331
|
+
max_value=filtered_image[local_maxima].max(),
|
|
332
332
|
voxel_size=voxel_size
|
|
333
333
|
)
|
|
334
334
|
|
|
@@ -746,16 +746,18 @@ def _create_threshold_slider(
|
|
|
746
746
|
logfiltered_image : np.ndarray,
|
|
747
747
|
local_maxima : np.ndarray,
|
|
748
748
|
default : int,
|
|
749
|
-
|
|
750
|
-
|
|
749
|
+
min_value : int,
|
|
750
|
+
max_value : int,
|
|
751
751
|
voxel_size
|
|
752
752
|
) :
|
|
753
753
|
|
|
754
754
|
if isinstance(default, float) : default = round(default)
|
|
755
|
+
min_value = max(min_value,15) #Security to avoid user put too low threshold and crashes Napari if out of memory.
|
|
755
756
|
|
|
756
757
|
@magicgui(
|
|
757
|
-
threshold={'widget_type' : 'Slider', 'value' : default, 'min' :
|
|
758
|
-
auto_call=
|
|
758
|
+
threshold={'widget_type' : 'Slider', 'value' : default, 'min' : min_value, 'max' : max_value, 'tracking' : True,},
|
|
759
|
+
auto_call=False,
|
|
760
|
+
call_button= "Apply"
|
|
759
761
|
)
|
|
760
762
|
def threshold_slider(threshold: int) -> LayerDataTuple:
|
|
761
763
|
spots = detection.spots_thresholding(
|
|
@@ -764,7 +766,6 @@ def _create_threshold_slider(
|
|
|
764
766
|
threshold=threshold
|
|
765
767
|
)[0]
|
|
766
768
|
|
|
767
|
-
print(voxel_size)
|
|
768
769
|
layer_args = {
|
|
769
770
|
'size': 5,
|
|
770
771
|
'scale' : voxel_size,
|
|
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.1 → small_fish_gui-1.3.3}/src/small_fish_gui/gui/general_help_screenshot.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/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.1 → small_fish_gui-1.3.3}/src/small_fish_gui/napari_detection_example.png
RENAMED
|
File without changes
|
{small_fish_gui-1.3.1 → small_fish_gui-1.3.3}/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
|