small-fish-gui 1.10.3__py3-none-any.whl → 1.10.4__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__ = "1.10.3"
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 :
@@ -15,4 +15,5 @@ scikit-image==0.19.1
15
15
  scikit-learn==1.3.2
16
16
  openpyxl>=3.1.2
17
17
  pyarrow>=11.0.0
18
- aicsimageio>=aicsimageio==4.14.0
18
+ aicsimageio>=aicsimageio==4.14.0
19
+ aicspylibczi==3.3.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: small_fish_gui
3
- Version: 1.10.3
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
@@ -1,9 +1,9 @@
1
1
  small_fish_gui/LICENSE,sha256=-iFy8VGBYs5VsHglKpk4D-hxqQ2jMJaqmfq_ulIzDks,1303
2
2
  small_fish_gui/README.md,sha256=SFXhmWiISVrOd_cBUodAYaHhMPeKBXyVoPe-fiBxuBw,4671
3
- small_fish_gui/__init__.py,sha256=u3_GHTV7nTxsPq7gk2dj3ZOgHGhW-U1wWMt0T2PNXck,2050
3
+ small_fish_gui/__init__.py,sha256=Y_hSHNTe6GvBP46FzrpZfHYEBm9oSdw8dzJovBVQ1HU,2050
4
4
  small_fish_gui/__main__.py,sha256=mgO_BmBGBsp8steg_lcwCPZ7QzgjgeScL8Npgs1D9Pk,1643
5
5
  small_fish_gui/hints.py,sha256=57pO8WA_PymBm5QyXCgYxnZIqqt86B-hO_s_6sv8b5s,1962
6
- small_fish_gui/requirements.txt,sha256=udO54grAFrmnEqUQC4rDeUMaIyBz3hYB1LJtu1ld7tg,354
6
+ small_fish_gui/requirements.txt,sha256=CXWOjBUN6fKtyNQnMkPZICJy-8PhIaLSeC5J42uC-ok,374
7
7
  small_fish_gui/utils.py,sha256=LM6QW2ono_LIRv7JXIIq7ZxxbDXqBtZ5uR9gjKJfwM8,1903
8
8
  small_fish_gui/.github/workflows/python-publish.yml,sha256=5Ltnuhw9TevhzndlBmdUgYMnS73xEAxSyd1u8DHdn5s,1084
9
9
  small_fish_gui/batch/__init__.py,sha256=ku2_Yate-UG89Q0BmE2B9kFV4kOz-u9Lf2lj6VsdFXs,127
@@ -16,7 +16,7 @@ small_fish_gui/batch/update.py,sha256=opSwMLlQDUtCwWpx9d2GfNKVA-t90ziqc1qofDH74D
16
16
  small_fish_gui/batch/utils.py,sha256=Pnmzlen8gmLBYBthMiUiK0TErjBBSId9SjKeBd9U6-U,1784
17
17
  small_fish_gui/batch/values.txt,sha256=XY8FBgAqExVKbtCXLztptaOUTFKj0G6t1_xX-zjYuTk,999
18
18
  small_fish_gui/gui/__init__.py,sha256=k08QFdLv2IXR8a6f8aPzy6iJ6MjDI7ZV143CH-BEXuA,845
19
- small_fish_gui/gui/_napari_widgets.py,sha256=4wVm09PWyudhSBIaKf5_a3oCfeRty6mitI04X3ems9k,18791
19
+ small_fish_gui/gui/_napari_widgets.py,sha256=43Ue-bEEmpascQLfbM1-JD8MGFGp7VB8gJWN2Fpi3aY,18919
20
20
  small_fish_gui/gui/animation.py,sha256=MnYsA1kxQZ72L_H0knxOs41lG0ZZv1re7gSgYNmZY00,983
21
21
  small_fish_gui/gui/layout.py,sha256=f45acK2I7o9Q3LYY23G4XAJ8HPoD9mp7AJNNlLbUByI,14371
22
22
  small_fish_gui/gui/napari_visualiser.py,sha256=g9ZIcCBQ3HHjclbk8EsJYLLAIdCK-uSYg123-vjP5PQ,10011
@@ -36,14 +36,14 @@ small_fish_gui/pipeline/_custom_errors.py,sha256=tQ-AUhgzIFpK30AZiQQrtHCHyGVRDdA
36
36
  small_fish_gui/pipeline/_preprocess.py,sha256=AzSbfIFWXVWs_WRGgZ_2X5afVkbnC0iBMvuP9F3Quc4,15136
37
37
  small_fish_gui/pipeline/_signaltonoise.py,sha256=7A9t7xu7zghI6cr201Ldm-LjJ5NOuP56VSeJ8KIzcUo,8497
38
38
  small_fish_gui/pipeline/actions.py,sha256=nwXD3NLSJHLQC3hpeNRf_JfBbnCZEQsRgH2W74vXAyk,16048
39
- small_fish_gui/pipeline/detection.py,sha256=M4Ez2g-GKWcNl3FhgOOPQ1WNv9UePIXYsAd0OTuC5_g,37222
39
+ small_fish_gui/pipeline/detection.py,sha256=icj9-myOulUmZ3ZW9cXneuEsp1aBgJ9pHuGzBvOey38,37450
40
40
  small_fish_gui/pipeline/main.py,sha256=5Mjw1glru0WL0o2D4uL8Gf5DtZMCd506Wn2C4wRkyNQ,5850
41
41
  small_fish_gui/pipeline/segmentation.py,sha256=CwjNwcFiHYbbjuZednmE8P3S7bnVpebLqD_9mXfQoII,19864
42
42
  small_fish_gui/pipeline/spots.py,sha256=9hNOGnOZhrtrIORt8UGBcI-SGCh1XftcUGerkBwN-QY,2201
43
43
  small_fish_gui/pipeline/test.py,sha256=w4ZMGDmUDXxVgWTlZ2TKw19W8q5gcE9gLMKe0SWnRrw,2827
44
44
  small_fish_gui/pipeline/testing.ipynb,sha256=Rs7VQ7TImNyUzT2_59JgbOjR5_Qs-0NjHHnqS87eiwA,76481
45
45
  small_fish_gui/pipeline/utils.py,sha256=run6qtqCAe_mFnE3o1CnmF1xBBmK3ydgc8-jOV9P-_w,448
46
- small_fish_gui-1.10.3.dist-info/METADATA,sha256=RD1JG9SuZum1q1vpqYGjVOBcC2uo5rf32fGGKUjlT1E,2670
47
- small_fish_gui-1.10.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
48
- small_fish_gui-1.10.3.dist-info/licenses/LICENSE,sha256=-iFy8VGBYs5VsHglKpk4D-hxqQ2jMJaqmfq_ulIzDks,1303
49
- small_fish_gui-1.10.3.dist-info/RECORD,,
46
+ small_fish_gui-1.10.4.dist-info/METADATA,sha256=hT48lQ4C23O0GR8SuCXh_T24TFSO_2F2Ba7nBv3-jXw,2705
47
+ small_fish_gui-1.10.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
48
+ small_fish_gui-1.10.4.dist-info/licenses/LICENSE,sha256=-iFy8VGBYs5VsHglKpk4D-hxqQ2jMJaqmfq_ulIzDks,1303
49
+ small_fish_gui-1.10.4.dist-info/RECORD,,