CytoTable 0.0.11__tar.gz → 0.0.12__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.
@@ -1,19 +1,19 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: CytoTable
3
- Version: 0.0.11
3
+ Version: 0.0.12
4
4
  Summary: Transform CellProfiler and DeepProfiler data for processing image-based profiling readouts with Pycytominer and other Cytomining tools.
5
5
  Home-page: https://github.com/cytomining/CytoTable
6
6
  License: BSD-3-Clause License
7
7
  Keywords: python,cellprofiler,single-cell-analysis,way-lab
8
8
  Author: Cytomining Community
9
- Requires-Python: >=3.8,<3.13
9
+ Requires-Python: >=3.9,<3.14
10
10
  Classifier: License :: Other/Proprietary License
11
11
  Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.8
13
12
  Classifier: Programming Language :: Python :: 3.9
14
13
  Classifier: Programming Language :: Python :: 3.10
15
14
  Classifier: Programming Language :: Python :: 3.11
16
15
  Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
17
  Requires-Dist: cloudpathlib[all,s3] (>=0.18.0,<0.19.0)
18
18
  Requires-Dist: duckdb (>=0.10.1)
19
19
  Requires-Dist: numpy (<=1.24.4) ; python_version < "3.12"
@@ -3,7 +3,7 @@ __init__.py for cytotable
3
3
  """
4
4
 
5
5
  # note: version data is maintained by poetry-dynamic-versioning (do not edit)
6
- __version__ = "0.0.11"
6
+ __version__ = "0.0.12"
7
7
 
8
8
  from .convert import convert
9
9
  from .exceptions import (
@@ -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)
@@ -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
- source if source["source_path"].suffix.lower() != ".sqlite"
167
- # if we have sqlite entries, update the source_path to the parent
168
- # (the parent table database file) as grouped key name will now
169
- # encapsulate the table name details.
170
- else {
171
- "source_path": source["source_path"].parent,
172
- "table_name": source["table_name"],
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
@@ -5,7 +5,7 @@ requires = [ "poetry-core>=1", "poetry-dynamic-versioning>=1,<2" ]
5
5
  [tool.poetry]
6
6
  name = "CytoTable"
7
7
  # note: version data is maintained by poetry-dynamic-versioning (do not edit)
8
- version = "0.0.11"
8
+ version = "0.0.12"
9
9
  description = "Transform CellProfiler and DeepProfiler data for processing image-based profiling readouts with Pycytominer and other Cytomining tools."
10
10
  authors = [ "Cytomining Community" ]
11
11
  license = "BSD-3-Clause License"
@@ -16,7 +16,7 @@ documentation = "https://cytomining.github.io/CytoTable/"
16
16
  keywords = [ "python", "cellprofiler", "single-cell-analysis", "way-lab" ]
17
17
 
18
18
  [tool.poetry.dependencies]
19
- python = ">=3.8,<3.13"
19
+ python = ">=3.9,<3.14"
20
20
  pyarrow = ">=13.0.0"
21
21
  cloudpathlib = { extras = [ "all", "s3" ], version = "^0.18.0" }
22
22
  duckdb = ">=0.8.0,!=0.10.0,>=0.10.1"
@@ -31,15 +31,15 @@ scipy = [
31
31
  ]
32
32
 
33
33
  [tool.poetry.group.dev.dependencies]
34
- pytest = "^7.4.0"
35
- pytest-cov = "^4.1.0"
36
- Sphinx = "^6.0.0"
37
- myst-parser = "^2.0.0"
38
- sphinxcontrib-mermaid = "^0.9.0"
34
+ pytest = ">=7.4,<9.0"
35
+ pytest-cov = ">=4.1,<6.0"
36
+ Sphinx = ">=6,<8"
37
+ myst-parser = ">=2,<4"
38
+ sphinxcontrib-mermaid = ">=0.9,<1.1"
39
39
  cytominer-database = "^0.3.4"
40
40
  pycytominer = "^1.1.0"
41
41
  dunamai = "^1.19.0"
42
- botocore = "^1.34.133" # added to help avoid dependency reolution issues
42
+ botocore = "^1.34.133" # added to help avoid dependency reolution issues
43
43
 
44
44
  [tool.poetry-dynamic-versioning]
45
45
  enable = false
File without changes
File without changes