CytoTable 0.0.11__py3-none-any.whl → 0.0.13__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.
- cytotable/__init__.py +1 -1
- cytotable/presets.py +5 -0
- cytotable/sources.py +11 -8
- cytotable/utils.py +3 -3
- {cytotable-0.0.11.dist-info → cytotable-0.0.13.dist-info}/METADATA +4 -5
- cytotable-0.0.13.dist-info/RECORD +11 -0
- {cytotable-0.0.11.dist-info → cytotable-0.0.13.dist-info}/WHEEL +1 -1
- cytotable-0.0.11.dist-info/RECORD +0 -11
- {cytotable-0.0.11.dist-info → cytotable-0.0.13.dist-info}/LICENSE +0 -0
cytotable/__init__.py
CHANGED
cytotable/presets.py
CHANGED
@@ -41,6 +41,7 @@ config = {
|
|
41
41
|
"CONFIG_JOINS": """
|
42
42
|
SELECT
|
43
43
|
image.Metadata_ImageNumber,
|
44
|
+
COLUMNS('Image_FileName_.*'),
|
44
45
|
cytoplasm.* EXCLUDE (Metadata_ImageNumber),
|
45
46
|
cells.* EXCLUDE (Metadata_ImageNumber, Metadata_ObjectNumber),
|
46
47
|
nuclei.* EXCLUDE (Metadata_ImageNumber, Metadata_ObjectNumber)
|
@@ -92,6 +93,7 @@ config = {
|
|
92
93
|
per_image.Metadata_ImageNumber,
|
93
94
|
per_image.Image_Metadata_Well,
|
94
95
|
per_image.Image_Metadata_Plate,
|
96
|
+
COLUMNS('Image_FileName_.*'),
|
95
97
|
per_cytoplasm.* EXCLUDE (Metadata_ImageNumber),
|
96
98
|
per_cells.* EXCLUDE (Metadata_ImageNumber),
|
97
99
|
per_nuclei.* EXCLUDE (Metadata_ImageNumber)
|
@@ -148,6 +150,7 @@ config = {
|
|
148
150
|
image.Metadata_Well,
|
149
151
|
image.Image_Metadata_Site,
|
150
152
|
image.Image_Metadata_Row,
|
153
|
+
COLUMNS('Image_FileName_.*'),
|
151
154
|
cytoplasm.* EXCLUDE (Metadata_ImageNumber),
|
152
155
|
cells.* EXCLUDE (Metadata_ImageNumber),
|
153
156
|
nuclei.* EXCLUDE (Metadata_ImageNumber)
|
@@ -206,6 +209,7 @@ config = {
|
|
206
209
|
per_image.Metadata_ImageNumber,
|
207
210
|
per_image.Image_Metadata_Well,
|
208
211
|
per_image.Image_Metadata_Plate,
|
212
|
+
COLUMNS('Image_FileName_.*'),
|
209
213
|
per_cytoplasm.* EXCLUDE (Metadata_ImageNumber),
|
210
214
|
per_cells.* EXCLUDE (Metadata_ImageNumber),
|
211
215
|
per_nuclei.* EXCLUDE (Metadata_ImageNumber)
|
@@ -265,6 +269,7 @@ config = {
|
|
265
269
|
image.Metadata_ImageNumber,
|
266
270
|
image.Image_Metadata_Well,
|
267
271
|
image.Image_Metadata_Plate,
|
272
|
+
COLUMNS('Image_FileName_.*'),
|
268
273
|
cytoplasm.* EXCLUDE (Metadata_TableNumber, Metadata_ImageNumber),
|
269
274
|
cells.* EXCLUDE (Metadata_TableNumber, Metadata_ImageNumber),
|
270
275
|
nuclei.* EXCLUDE (Metadata_TableNumber, Metadata_ImageNumber)
|
cytotable/sources.py
CHANGED
@@ -163,14 +163,17 @@ def _get_source_filepaths(
|
|
163
163
|
for unique_source in set(source["source_path"].name for source in sources):
|
164
164
|
grouped_sources[unique_source.capitalize()] = [
|
165
165
|
# case for files besides sqlite
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
166
|
+
(
|
167
|
+
source
|
168
|
+
if source["source_path"].suffix.lower() != ".sqlite"
|
169
|
+
# if we have sqlite entries, update the source_path to the parent
|
170
|
+
# (the parent table database file) as grouped key name will now
|
171
|
+
# encapsulate the table name details.
|
172
|
+
else {
|
173
|
+
"source_path": source["source_path"].parent,
|
174
|
+
"table_name": source["table_name"],
|
175
|
+
}
|
176
|
+
)
|
174
177
|
for source in sources
|
175
178
|
# focus only on entries which include the unique_source name
|
176
179
|
if source["source_path"].name == unique_source
|
cytotable/utils.py
CHANGED
@@ -415,7 +415,7 @@ def _arrow_type_cast_if_specified(
|
|
415
415
|
|
416
416
|
|
417
417
|
def _expand_path(
|
418
|
-
path: Union[str, pathlib.Path, AnyPath]
|
418
|
+
path: Union[str, pathlib.Path, AnyPath],
|
419
419
|
) -> Union[pathlib.Path, AnyPath]:
|
420
420
|
"""
|
421
421
|
Expands "~" user directory references with the user's home directory, and expands variable references with values from the environment. After user/variable expansion, the path is resolved and an absolute path is returned.
|
@@ -569,7 +569,7 @@ def _unwrap_source(
|
|
569
569
|
source: Union[
|
570
570
|
Dict[str, Union[parsl.dataflow.futures.AppFuture, Any]],
|
571
571
|
Union[parsl.dataflow.futures.AppFuture, Any],
|
572
|
-
]
|
572
|
+
],
|
573
573
|
) -> Union[Dict[str, Any], Any]:
|
574
574
|
"""
|
575
575
|
Helper function to unwrap futures from sources.
|
@@ -594,7 +594,7 @@ def _unwrap_source(
|
|
594
594
|
|
595
595
|
|
596
596
|
def evaluate_futures(
|
597
|
-
sources: Union[Dict[str, List[Dict[str, Any]]], List[Any], str]
|
597
|
+
sources: Union[Dict[str, List[Dict[str, Any]]], List[Any], str],
|
598
598
|
) -> Any:
|
599
599
|
"""
|
600
600
|
Evaluates any Parsl futures for use within other tasks.
|
@@ -1,19 +1,18 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.3
|
2
2
|
Name: CytoTable
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.13
|
4
4
|
Summary: Transform CellProfiler and DeepProfiler data for processing image-based profiling readouts with Pycytominer and other Cytomining tools.
|
5
|
-
Home-page: https://github.com/cytomining/CytoTable
|
6
5
|
License: BSD-3-Clause License
|
7
6
|
Keywords: python,cellprofiler,single-cell-analysis,way-lab
|
8
7
|
Author: Cytomining Community
|
9
|
-
Requires-Python: >=3.
|
8
|
+
Requires-Python: >=3.9,<3.14
|
10
9
|
Classifier: License :: Other/Proprietary License
|
11
10
|
Classifier: Programming Language :: Python :: 3
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
13
11
|
Classifier: Programming Language :: Python :: 3.9
|
14
12
|
Classifier: Programming Language :: Python :: 3.10
|
15
13
|
Classifier: Programming Language :: Python :: 3.11
|
16
14
|
Classifier: Programming Language :: Python :: 3.12
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
17
16
|
Requires-Dist: cloudpathlib[all,s3] (>=0.18.0,<0.19.0)
|
18
17
|
Requires-Dist: duckdb (>=0.10.1)
|
19
18
|
Requires-Dist: numpy (<=1.24.4) ; python_version < "3.12"
|
@@ -0,0 +1,11 @@
|
|
1
|
+
cytotable/__init__.py,sha256=oohhN_5xl7FYudOQeaflYlKCwL0fBBM_ANxuuPKSFYM,316
|
2
|
+
cytotable/constants.py,sha256=w_AUm_fKKXeZjnZxbHf-dxq7NN7BkvCWbkGK24sfzLw,1872
|
3
|
+
cytotable/convert.py,sha256=5VHnw0eGdfXTbSfeEoPAPVa-dtobM6VHkIJwscLe68M,60651
|
4
|
+
cytotable/exceptions.py,sha256=NhkMswjCB0HeVHqlLXzBlyHunQIp_4eBFmyAPu0Nf30,482
|
5
|
+
cytotable/presets.py,sha256=rmDOJ-r2yXj0Kr9GlnINKQR8QA3BVLM5z0UAiV0kK0k,15036
|
6
|
+
cytotable/sources.py,sha256=LBkLxOhKo-g3_RYAEQnipV6dxbn7IQETDKfd81jjWSo,12371
|
7
|
+
cytotable/utils.py,sha256=9zOEFWtGauzoZEJD-2PWFhzHeLlbzKHYfYCcZB4mag8,22581
|
8
|
+
cytotable-0.0.13.dist-info/LICENSE,sha256=lPK3PtUMP-f1EOFMUr8h3FvuMh89x249Hvm4lchTsv0,1528
|
9
|
+
cytotable-0.0.13.dist-info/METADATA,sha256=N7p0JoPHS_mhT1EfytBddcxB2fL3qECsJM7an9IaAaw,3374
|
10
|
+
cytotable-0.0.13.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
11
|
+
cytotable-0.0.13.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
cytotable/__init__.py,sha256=KSVr7xOOrpmQ_ybzcsZkblTAzPIYEq7_bm-Cjc874FM,316
|
2
|
-
cytotable/constants.py,sha256=w_AUm_fKKXeZjnZxbHf-dxq7NN7BkvCWbkGK24sfzLw,1872
|
3
|
-
cytotable/convert.py,sha256=5VHnw0eGdfXTbSfeEoPAPVa-dtobM6VHkIJwscLe68M,60651
|
4
|
-
cytotable/exceptions.py,sha256=NhkMswjCB0HeVHqlLXzBlyHunQIp_4eBFmyAPu0Nf30,482
|
5
|
-
cytotable/presets.py,sha256=CpUrVSCfsV9CDvNfkNj-rAOguA68lb2-w7g-XMcHezU,14806
|
6
|
-
cytotable/sources.py,sha256=TY4dkbwh1PDCNapmMHE09Ey7QPYPhmp5DeErh3Wp4rw,12283
|
7
|
-
cytotable/utils.py,sha256=tywZg1Gr78ebLlOp8R7trkiV7jsQ4iiZt4B6qG6SrxY,22578
|
8
|
-
cytotable-0.0.11.dist-info/LICENSE,sha256=lPK3PtUMP-f1EOFMUr8h3FvuMh89x249Hvm4lchTsv0,1528
|
9
|
-
cytotable-0.0.11.dist-info/METADATA,sha256=sOvdWxld2Ryyjd5bluZt8Z78uElg1CyWG0UIRJn0F8E,3424
|
10
|
-
cytotable-0.0.11.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
11
|
-
cytotable-0.0.11.dist-info/RECORD,,
|
File without changes
|