celldetective 1.3.9__py3-none-any.whl → 1.3.9.post2__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.
celldetective/_version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.3.9"
1
+ __version__ = "1.3.9.post2"
@@ -193,17 +193,20 @@ class MeasurementProcess(Process):
193
193
  # Load trajectories, add centroid if not in trajectory
194
194
  self.trajectories = self.pos+os.sep.join(['output','tables', self.table_name])
195
195
  if os.path.exists(self.trajectories):
196
- print('trajectory exists...')
196
+ print('Previous table detected...')
197
197
  self.trajectories = pd.read_csv(self.trajectories)
198
198
  if 'TRACK_ID' not in list(self.trajectories.columns):
199
+ print('Non-tracked cells detected...')
199
200
  self.do_iso_intensities = False
200
201
  self.intensity_measurement_radii = None
201
202
  if self.clear_previous:
202
- print('No TRACK_ID... Clear previous measurements...')
203
+ print('Clear previous measurements...')
203
204
  self.trajectories = None #remove_trajectory_measurements(trajectories, column_labels)
204
205
  self.do_features = True
205
206
  self.features += ['centroid']
207
+ self.column_labels.update({'track': 'ID'})
206
208
  else:
209
+ print('Tracked cells detected...')
207
210
  if self.clear_previous:
208
211
  print('TRACK_ID found... Clear previous measurements...')
209
212
  self.trajectories = remove_trajectory_measurements(self.trajectories, self.column_labels)
celldetective/utils.py CHANGED
@@ -31,7 +31,7 @@ from scipy.stats import ks_2samp
31
31
  from cliffs_delta import cliffs_delta
32
32
  from stardist.models import StarDist2D
33
33
  from cellpose.models import CellposeModel
34
- from pathlib import PosixPath, PurePosixPath
34
+ from pathlib import PosixPath, PurePosixPath, WindowsPath
35
35
 
36
36
  def get_config(experiment):
37
37
 
@@ -68,7 +68,7 @@ def get_config(experiment):
68
68
 
69
69
  """
70
70
 
71
- if isinstance(experiment, (PosixPath, PurePosixPath)):
71
+ if isinstance(experiment, (PosixPath, PurePosixPath, WindowsPath)):
72
72
  experiment = str(experiment)
73
73
 
74
74
  if not experiment.endswith(os.sep):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: celldetective
3
- Version: 1.3.9
3
+ Version: 1.3.9.post2
4
4
  Summary: description
5
5
  Home-page: http://github.com/remyeltorro/celldetective
6
6
  Author: Rémy Torro
@@ -1,6 +1,6 @@
1
1
  celldetective/__init__.py,sha256=bi3SGTMo6s2qQBsJAaKy-a4xaGcTQVW8zsqaiX5XKeY,139
2
2
  celldetective/__main__.py,sha256=bxTlSvbKhqn3LW_azd2baDCnDsgb37PAP9DfuAJ1_5M,1844
3
- celldetective/_version.py,sha256=SaWgUI6v92kVfF_Qdoxbfc38bwA34RuDGZmXMqa5g3c,22
3
+ celldetective/_version.py,sha256=-L_OTdOS0yLx8w7SqORxWfMGshbo1ITN75NdQT0lis0,28
4
4
  celldetective/events.py,sha256=UkjY_-THo6WviWWCLnDbma7jWOd_O9a60C4IOX2htG8,8254
5
5
  celldetective/extra_properties.py,sha256=PUs-lltSj_jSko_Gd-w483OxZW6oR3BAHQrw51DUxMg,8081
6
6
  celldetective/filters.py,sha256=6pl2IGPK2FH8KPWbjzQEbT4C-ruqE1fQ8NQNN7Euvy8,4433
@@ -12,7 +12,7 @@ celldetective/relative_measurements.py,sha256=-GWig0lC5UWAcJSPlo9Sp45khGj80fxuQf
12
12
  celldetective/segmentation.py,sha256=WApzoU1s3Ntvp0eIw_pRZXNwCA8LDKC9YoyR52tioz4,30943
13
13
  celldetective/signals.py,sha256=nMyyGUpla8D2sUYKY1zjbWsAueVPI_gUalY0KXfWteI,111595
14
14
  celldetective/tracking.py,sha256=VBJLd-1EeJarOVPBNEomhVBh9UYAMdSnH0tmUiUoTrY,40242
15
- celldetective/utils.py,sha256=RoNkCGCs9V3EiIn63N20qNKBQ_-H9bogF5LgByQ2UZo,106316
15
+ celldetective/utils.py,sha256=RzC5yzuspnqF0_FG20mFTlrvPR2l5tpW0fyL32JccqY,106342
16
16
  celldetective/datasets/segmentation_annotations/blank,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  celldetective/datasets/signal_annotations/blank,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  celldetective/gui/InitWindow.py,sha256=TPKWYczhPHvPKWg654sXnE9xCEx6U-oWX0_OJgLTWbU,15044
@@ -56,7 +56,7 @@ celldetective/gui/help/propagate-classification.json,sha256=F7Ir1mtgRVTXWLN7n3ny
56
56
  celldetective/gui/help/track-postprocessing.json,sha256=VaGd8EEkA33OL-EI3NXWZ8yHeWWyUeImDF5yAjsVYGA,3990
57
57
  celldetective/gui/help/tracking.json,sha256=yIAoOToqCSQ_XF4gwEZCcyXcvQ3mROju263ZPDvlUyY,776
58
58
  celldetective/gui/processes/downloader.py,sha256=SuMTuM82QOZBqLfj36I14fhZ2k3NmLp0PBcGUHxnpXI,3287
59
- celldetective/gui/processes/measure_cells.py,sha256=MLkVLLuUtVVgwQB9a9N8eZ5TzF-Xtuhzb5wtcFRa1lU,12846
59
+ celldetective/gui/processes/measure_cells.py,sha256=gnUJzvmLt7hMpGVoqlBayv8ibdu9tvKaFbON_BE7NH0,12966
60
60
  celldetective/gui/processes/segment_cells.py,sha256=49Bh3nejkrxlLNhlP3Y_6-flkBOhkqFMQmrc2qDj7Dk,11320
61
61
  celldetective/gui/processes/track_cells.py,sha256=y8ohHAMcGtAjrJOP1WqvDfy_K85LbmdXoN7CA7BYpaY,9942
62
62
  celldetective/gui/processes/train_segmentation_model.py,sha256=bvcPG19hBjhNY9hd6Ch5_wk2FOJYQg97Azoz4RKeP-0,10776
@@ -121,9 +121,9 @@ tests/test_segmentation.py,sha256=k1b_zIZdlytEdJcHjAUQEO3gTBAHtv5WvrwQN2xD4kc,34
121
121
  tests/test_signals.py,sha256=No4cah6KxplhDcKXnU8RrA7eDla4hWw6ccf7xGnBokU,3599
122
122
  tests/test_tracking.py,sha256=8hebWSqEIuttD1ABn-6dKCT7EXKRR7-4RwyFWi1WPFo,8800
123
123
  tests/test_utils.py,sha256=NKRCAC1d89aBK5cWjTb7-pInYow901RrT-uBlIdz4KI,3692
124
- celldetective-1.3.9.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
125
- celldetective-1.3.9.dist-info/METADATA,sha256=POcWapSbuacLCmplgT1JURcBQIQ25jNSigcN5ltnx5s,10747
126
- celldetective-1.3.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
127
- celldetective-1.3.9.dist-info/entry_points.txt,sha256=2NU6_EOByvPxqBbCvjwxlVlvnQreqZ3BKRCVIKEv3dg,62
128
- celldetective-1.3.9.dist-info/top_level.txt,sha256=6rsIKKfGMKgud7HPuATcpq6EhdXwcg_yknBVWn9x4C4,20
129
- celldetective-1.3.9.dist-info/RECORD,,
124
+ celldetective-1.3.9.post2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
125
+ celldetective-1.3.9.post2.dist-info/METADATA,sha256=32q8-6ZVwiHP3ScLNJ4NKCuyZFQp-WjNdGE_Z6HuOHk,10753
126
+ celldetective-1.3.9.post2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
127
+ celldetective-1.3.9.post2.dist-info/entry_points.txt,sha256=2NU6_EOByvPxqBbCvjwxlVlvnQreqZ3BKRCVIKEv3dg,62
128
+ celldetective-1.3.9.post2.dist-info/top_level.txt,sha256=6rsIKKfGMKgud7HPuATcpq6EhdXwcg_yknBVWn9x4C4,20
129
+ celldetective-1.3.9.post2.dist-info/RECORD,,