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.
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/PKG-INFO +2 -1
- small_fish_gui-1.10.4/error_log.txt +9 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/pyproject.toml +2 -2
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/__init__.py +1 -1
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/_napari_widgets.py +3 -2
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/detection.py +3 -3
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/requirements.txt +2 -1
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/LICENSE +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/README.md +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/.github/workflows/python-publish.yml +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/LICENSE +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/README.md +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/__main__.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/__init__.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/input.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/integrity.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/pipeline.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/prompt.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/test.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/update.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/utils.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/batch/values.txt +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/__init__.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/animation.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/layout.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/napari_visualiser.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/prompts.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/screenshot/general_help_screenshot.png +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/screenshot/mapping_help_screenshot.png +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/screenshot/segmentation_help_screenshot.png +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/testing.ipynb +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/gui/theme.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/hints.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/interface/__init__.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/interface/image.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/interface/inoutput.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/interface/testing.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/__init__.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_colocalisation.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_custom_errors.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_preprocess.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_signaltonoise.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/actions.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/main.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/segmentation.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/spots.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/test.py +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/testing.ipynb +0 -0
- {small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/utils.py +0 -0
- {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
|
+
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.
|
|
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.
|
|
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 :
|
|
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
|
|
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
|
|
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.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_colocalisation.py
RENAMED
|
File without changes
|
{small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_custom_errors.py
RENAMED
|
File without changes
|
|
File without changes
|
{small_fish_gui-1.10.3 → small_fish_gui-1.10.4}/src/small_fish_gui/pipeline/_signaltonoise.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
|