small-fish-gui 1.3.1__tar.gz → 1.3.2__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.2}/PKG-INFO +1 -1
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/pyproject.toml +1 -1
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/__init__.py +1 -1
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/_napari_wrapper.py +0 -2
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/detection.py +4 -4
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/LICENSE +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/README.md +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/.github/workflows/python-publish.yml +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/LICENSE +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/README.md +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/Segmentation example.jpg +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/__main__.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/gui/__init__.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/gui/animation.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/gui/general_help_screenshot.png +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/gui/help_module.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/gui/layout.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/gui/mapping_help_screenshot.png +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/gui/prompts.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/gui/segmentation_help_screenshot.png +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/gui/test.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/interface/__init__.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/interface/image.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/interface/output.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/interface/parameters.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/interface/testing.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/napari_detection_example.png +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/_colocalisation.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/_custom_errors.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/_preprocess.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/_segmentation.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/_signaltonoise.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/actions.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/main.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/spots.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/pipeline/test.py +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/src/small_fish_gui/requirements.txt +0 -0
- {small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/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.2
|
|
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.2}/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,
|
|
@@ -746,15 +746,16 @@ 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,25) #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
|
+
threshold={'widget_type' : 'Slider', 'value' : default, 'min' : min_value, 'max' : max_value},
|
|
758
759
|
auto_call=True
|
|
759
760
|
)
|
|
760
761
|
def threshold_slider(threshold: int) -> LayerDataTuple:
|
|
@@ -764,7 +765,6 @@ def _create_threshold_slider(
|
|
|
764
765
|
threshold=threshold
|
|
765
766
|
)[0]
|
|
766
767
|
|
|
767
|
-
print(voxel_size)
|
|
768
768
|
layer_args = {
|
|
769
769
|
'size': 5,
|
|
770
770
|
'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.2}/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.2}/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.2}/src/small_fish_gui/napari_detection_example.png
RENAMED
|
File without changes
|
{small_fish_gui-1.3.1 → small_fish_gui-1.3.2}/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
|