small-fish-gui 2.0.3__py3-none-any.whl → 2.1.0__py3-none-any.whl

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.
@@ -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__ = "2.0.3"
40
+ __version__ = "2.1.0"
41
41
  __wiki__ = "https://github.com/2Echoes/small_fish_gui/wiki"
42
42
 
43
43
  import os, platform
@@ -308,12 +308,14 @@ def _segmentate_object_layout(
308
308
  options_3D = list()
309
309
  layout = []
310
310
 
311
- if is_3D_stack :
312
- radio_2D_seg = sg.Radio("2D segmentation", group_id=object_key+"_seg_dim", default=not segmentation_3D, visible = True, enable_events=True, key=key_2D)
313
- radio_max_proj = sg.Radio("max proj", group_id=object_key+"_2D_proj", default=False, disabled= segmentation_3D, key= object_key+"_max_proj")
314
- radio_mean_proj = sg.Radio("mean proj", group_id=object_key+"_2D_proj", default=True, disabled= segmentation_3D, key = object_key + "_mean_proj")
315
- radio_slice_proj = sg.Radio("select slice", group_id=object_key+"_2D_proj", default=False, disabled= segmentation_3D, key=object_key + "_select_slice")
316
-
311
+ radio_2D_seg = sg.Radio("2D segmentation", group_id=object_key+"_seg_dim", default=not segmentation_3D, visible = True, enable_events=True, key=key_2D)
312
+ radio_max_proj = sg.Radio("max proj", group_id=object_key+"_2D_proj", default=False, disabled= segmentation_3D, key= object_key+"_max_proj")
313
+ radio_mean_proj = sg.Radio("mean proj", group_id=object_key+"_2D_proj", default=True, disabled= segmentation_3D, key = object_key + "_mean_proj")
314
+ radio_slice_proj = sg.Radio("select slice", group_id=object_key+"_2D_proj", default=False, disabled= segmentation_3D, key=object_key + "_select_slice")
315
+ radio_3D_seg = sg.Radio("3D segmentation", group_id=object_key+"_seg_dim", default=segmentation_3D, visible = True, enable_events=True, key= key_3D)
316
+ anisotropy = sg.Input(default_text = 1, key = object_key + "_anisotropy",size=5, disabled=not segmentation_3D)
317
+
318
+ if is_3D_stack :
317
319
  slice_number = reordered_shape[0 + is_multichannel] if not reordered_shape is None else 999
318
320
  int_slice_proj = sg.Spin(list(range(slice_number)), size= (5,1), disabled= segmentation_3D, key=object_key+"_selected_slice")
319
321
 
@@ -329,8 +331,6 @@ def _segmentate_object_layout(
329
331
  [sg.Column([[radio_max_proj, radio_mean_proj, radio_slice_proj, int_slice_proj]], pad= (15,0,0,5))]
330
332
  ]
331
333
 
332
- radio_3D_seg = sg.Radio("3D segmentation", group_id=object_key+"_seg_dim", default=segmentation_3D, visible = True, enable_events=True, key= key_3D)
333
- anisotropy = sg.Input(default_text = 1, key = object_key + "_anisotropy",size=5, disabled=not segmentation_3D)
334
334
 
335
335
  layout += [
336
336
  [radio_3D_seg],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: small_fish_gui
3
- Version: 2.0.3
3
+ Version: 2.1.0
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/SmallFishGUI/small_fish_gui
6
6
  Project-URL: Wiki, https://github.com/SmallFishGUI/small_fish_gui/wiki
@@ -36,7 +36,7 @@ Description-Content-Type: text/markdown
36
36
  # Small Fish - A User-Friendly Graphical Interface for smFISH Image Quantification
37
37
 
38
38
  [![License: BSD-2-Clause](https://img.shields.io/badge/License-BSD_2--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)
39
- [![GitHub stars](https://img.shields.io/github/stars/SmallFishGUI/small_fish_gui.svg?style=social)](https://github.com/SmallFishGUI/small_fish_gui) [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
39
+ [![GitHub stars](https://img.shields.io/github/stars/SmallFishGUI/small_fish_gui.svg?style=social)](https://github.com/SmallFishGUI/small_fish_gui) [![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
40
40
 
41
41
  **Small Fish** is a python application for smFish image analysis. It provides a ready to use graphical interface to synthetize state-of-the-art scientific packages into an automated workflow. Small Fish is designed to simplify images quantification and analysis for people without coding skills.
42
42
 
@@ -83,22 +83,27 @@ Analysis can be performed either fully interactively throught a Napari interface
83
83
 
84
84
  ### General setup
85
85
 
86
- If you don't have a python installation yet I would recommend the [miniconda distribution](https://docs.anaconda.com/free/miniconda/miniconda-other-installer-links/).
86
+ If you don't have a python installation yet I would recommend the [miniconda distribution](https://docs.anaconda.com/free/miniconda/miniconda-other-installer-links/); but any distribution should work.
87
87
 
88
- It is higly recommanded to create a specific [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) or [virtual](https://docs.python.org/3.6/library/venv.html) environnement to install small fish.
88
+ It is higly recommanded to create a specific [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) or [virtual](https://docs.python.org/3.9/library/venv.html) environnement to install small fish.
89
89
 
90
+ As of version 2.1.0 Small Fish runs on python 3.12.
91
+
92
+ If you are using **conda** or **miniconda**
90
93
  ```bash
91
- conda create -n small_fish python=3.9
94
+ conda create -n small_fish python=3.12
92
95
  conda activate small_fish
93
96
  ```
94
- Then download the small_fish package :
97
+
98
+ If you are using **venv**, after installing the official python 3.12, python-venv **and** *python-tk* .
95
99
  ```bash
96
- pip install small_fish_gui
100
+ python3.12 -m venv python_env/small_fish
101
+ source python_env/small_fish/bin/activate
97
102
  ```
98
- Results visualisation is achieved through *Napari* which you can install with :
99
103
 
104
+ Then download and install the small_fish package with :
100
105
  ```bash
101
- pip install napari[all]
106
+ pip install small_fish_gui
102
107
  ```
103
108
 
104
109
  ### Setting up GPU
@@ -1,4 +1,4 @@
1
- small_fish_gui/__init__.py,sha256=L_lJwkpdlIGo4eXl6wIvnwALDNwtZ0acL3OeWxoNi0Y,2163
1
+ small_fish_gui/__init__.py,sha256=UpCtbJVHtEDhuODPuqSveUP1isho3tBst2K6AChvva8,2163
2
2
  small_fish_gui/__main__.py,sha256=xwpFMDuo0kkYvPamyhlTHJ68bymDfbRpPzKy3SKwezY,1639
3
3
  small_fish_gui/hints.py,sha256=NEKqCbjXF3guHnc1dzq_LYYGlTxIV6z6wtdwVlmgHos,3349
4
4
  small_fish_gui/main_menu.py,sha256=z0ZlidWNGHLYYnBx2Z1i2IX_EGQr-HtIlsOQl-yTw4o,6273
@@ -15,7 +15,7 @@ small_fish_gui/batch/utils.py,sha256=apHxp72OdjTSUyj4ZwN75NYc12Am4m7N9Sw03TrjLMk
15
15
  small_fish_gui/gui/__init__.py,sha256=idpRSg2FFawF0ydfc7Y8ep6gQ4_jhroL_jZURlRE_BM,920
16
16
  small_fish_gui/gui/_napari_widgets.py,sha256=xXa-da5MYEWCpwlnE7LkURXSjxvAcF2EHj9-jm482Rk,34934
17
17
  small_fish_gui/gui/animation.py,sha256=MnYsA1kxQZ72L_H0knxOs41lG0ZZv1re7gSgYNmZY00,983
18
- small_fish_gui/gui/layout.py,sha256=Js3fwYDQ8Ejxw_dAGN53gKSGCLNiIKxHyiv49vjLA7g,30905
18
+ small_fish_gui/gui/layout.py,sha256=qQVxOvjd0UNSxa9oZaLMZLHiApieqYUWSONulqYF-kQ,30881
19
19
  small_fish_gui/gui/napari_visualiser.py,sha256=mipNwfcUDVZSZjlnZDbVe9E4p_2cBsxFDoQX6vqhsbk,13935
20
20
  small_fish_gui/gui/prompts.py,sha256=vWLLJZ7jdYIbjT71qHGiE1o9-pTrc607shnKW6EZi8I,18361
21
21
  small_fish_gui/gui/testing.ipynb,sha256=2E51kT3BcXvOvOSdmYIy4Cxbe-4HtnOjzPTZQHDZJJw,69148
@@ -40,7 +40,7 @@ small_fish_gui/pipeline/segmentation.py,sha256=rlDxHrbhokEJngmaGTjWHRp06XXraQWUW
40
40
  small_fish_gui/pipeline/spots.py,sha256=3kMe404RHOsNLRZQV6RdpxrHqaRRiGK4_qKSx6jesDM,6738
41
41
  small_fish_gui/pipeline/test.py,sha256=w4ZMGDmUDXxVgWTlZ2TKw19W8q5gcE9gLMKe0SWnRrw,2827
42
42
  small_fish_gui/pipeline/utils.py,sha256=dYV7WAJ375xM5RdaljjxeKvBC1niQvBl1E55SeIiIYo,563
43
- small_fish_gui-2.0.3.dist-info/METADATA,sha256=KBV5T--5i-x6ek7K1hVoQScF9p8Z3jWK2COHcoY_GE4,5817
44
- small_fish_gui-2.0.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
45
- small_fish_gui-2.0.3.dist-info/licenses/LICENSE,sha256=-iFy8VGBYs5VsHglKpk4D-hxqQ2jMJaqmfq_ulIzDks,1303
46
- small_fish_gui-2.0.3.dist-info/RECORD,,
43
+ small_fish_gui-2.1.0.dist-info/METADATA,sha256=sam8sxyfdn6HYGPPtj-3UQnGwNt2pz_e8ZjGTEfbwes,6052
44
+ small_fish_gui-2.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
45
+ small_fish_gui-2.1.0.dist-info/licenses/LICENSE,sha256=-iFy8VGBYs5VsHglKpk4D-hxqQ2jMJaqmfq_ulIzDks,1303
46
+ small_fish_gui-2.1.0.dist-info/RECORD,,