nci-cidc-api-modules 1.1.19__py3-none-any.whl → 1.1.21__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.
@@ -957,4 +957,40 @@ details_dict = {
957
957
  "H and E file from MIBI analysis",
958
958
  "",
959
959
  ),
960
+ # mihc
961
+ "/mihc/sample_report.csv": FileDetails(
962
+ "source",
963
+ "",
964
+ "",
965
+ ),
966
+ "/mihc/multitiffs.tar.gz": FileDetails(
967
+ "source",
968
+ "",
969
+ "",
970
+ ),
971
+ "/mihc/tilemap.ome.tiff": FileDetails(
972
+ "source",
973
+ "",
974
+ "",
975
+ ),
976
+ "/mihc/tilestats.csv": FileDetails(
977
+ "source",
978
+ "",
979
+ "",
980
+ ),
981
+ "/mihc/geo_jsons.zip": FileDetails(
982
+ "source",
983
+ "",
984
+ "",
985
+ ),
986
+ "/mihc/stains.zip": FileDetails(
987
+ "source",
988
+ "",
989
+ "",
990
+ ),
991
+ "/mihc/h5ad.h5ad": FileDetails(
992
+ "source",
993
+ "",
994
+ "",
995
+ ),
960
996
  }
@@ -346,6 +346,15 @@ assay_facets: Facets = {
346
346
  "H and E file from MIBI analysis",
347
347
  ),
348
348
  },
349
+ "mIHC": {
350
+ "Samples Report": FacetConfig(["/mihc/sample_report.csv"], "Samples report for mIHC run"),
351
+ "Multitiffs": FacetConfig(["/mihc/multitiffs.tar.gz"], "Multi Tiffs file from mIHC run"),
352
+ "Tile Map": FacetConfig(["/mihc/tilemap.ome.tiff"], "Tile map file from mIHC run"),
353
+ "Tile Stats": FacetConfig(["/mihc/tilestats.csv"], "Tile stats file from mIHC run"),
354
+ "GeoJsons Zip": FacetConfig(["/mihc/geo_jsons.zip"], "Zip of all geo jsons from mIHC run"),
355
+ "Stains Zip": FacetConfig(["/mihc/stains.zip"], "Zip of all svs stain files from mIHC run"),
356
+ "H5ad File": FacetConfig(["/mihc/h5ad.h5ad"], "H5ad file from mIHC run"),
357
+ },
349
358
  "mIF": {
350
359
  "Source Images": FacetConfig(
351
360
  [
cidc_api/models/models.py CHANGED
@@ -2518,6 +2518,14 @@ class DownloadableFiles(CommonColumns):
2518
2518
 
2519
2519
  return clause
2520
2520
 
2521
+ @classmethod
2522
+ @with_default_session
2523
+ def list_ids(cls, session: Session, filter_: Callable[[Query], Query]):
2524
+ """List record ids in the downloadable_files table based on filter_."""
2525
+ query = session.query(cls.id)
2526
+ query = filter_(query)
2527
+ return [r[0] for r in query.all()]
2528
+
2521
2529
  @classmethod
2522
2530
  @with_default_session
2523
2531
  def list_with_permissions(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nci_cidc_api_modules
3
- Version: 1.1.19
3
+ Version: 1.1.21
4
4
  Summary: SQLAlchemy data models and configuration tools used in the NCI CIDC API
5
5
  Home-page: https://github.com/NCI-CIDC/cidc-api-gae
6
6
  License: MIT license
@@ -28,7 +28,7 @@ Requires-Dist: python-dotenv==0.10.3
28
28
  Requires-Dist: requests==2.32.3
29
29
  Requires-Dist: jinja2==3.1.6
30
30
  Requires-Dist: certifi==2024.7.4
31
- Requires-Dist: nci-cidc-schemas==0.27.12
31
+ Requires-Dist: nci-cidc-schemas==0.27.14
32
32
  Dynamic: description
33
33
  Dynamic: description-content-type
34
34
  Dynamic: home-page
@@ -71,7 +71,7 @@ source venv/bin/activate
71
71
  # alias activate='source venv/bin/activate'
72
72
  ```
73
73
 
74
- Install both the production and development dependencies.
74
+ Install both the production and development dependencies.
75
75
 
76
76
  ```bash
77
77
  pip install -r requirements.dev.txt
@@ -8,19 +8,19 @@ cidc_api/csms/auth.py,sha256=VTfHlCym_hqVrHXv41Ku9RMAGN9BiNe7ui0o9KZCKtY,3185
8
8
  cidc_api/models/__init__.py,sha256=bl445G8Zic9YbhZ8ZBni07wtBMhLJRMBA-JqjLxx2bw,66
9
9
  cidc_api/models/csms_api.py,sha256=ovi_jZXZBg6XYEvIupbf5c0WyMbPi4V07OywbleKGqs,30737
10
10
  cidc_api/models/migrations.py,sha256=gp9vtkYbA9FFy2s-7woelAmsvQbJ41LO2_DY-YkFIrQ,11464
11
- cidc_api/models/models.py,sha256=tKLyBrVH_7fL2smGzApypBTyL-nuuXQHxI-TJsUAIMg,129200
11
+ cidc_api/models/models.py,sha256=mQ6XTnGwh-h8wi7xcwEuzMZUr8epv9C8f5lkjkIjsVc,129512
12
12
  cidc_api/models/schemas.py,sha256=7tDYtmULuzTt2kg7RorWhte06ffalgpQKrFiDRGcPEQ,2711
13
13
  cidc_api/models/files/__init__.py,sha256=8BMTnUSHzUbz0lBeEQY6NvApxDD3GMWMduoVMos2g4Y,213
14
- cidc_api/models/files/details.py,sha256=v4v_BetAOBiEq-FVcxho8lamZCRGb48oAvKk9yq4ZOI,62204
15
- cidc_api/models/files/facets.py,sha256=803siMWziH5UVaF2tj49a_kJYb6CmSWHsGQJweXwyJY,28705
14
+ cidc_api/models/files/details.py,sha256=WrWPxJqlsteinoNbGTaQ3fcxgvChqLGJ9vY7H829jtk,62842
15
+ cidc_api/models/files/facets.py,sha256=JqCmwcjYYSz7XK4bAokSE9i71C8t9EQ4Jtbv7npth7M,29391
16
16
  cidc_api/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  cidc_api/shared/auth.py,sha256=PHqmVGkqDjbmUofytVFwD_9ssgUomESl3fFtFHPwZYQ,9062
18
18
  cidc_api/shared/emails.py,sha256=GY-l0EkoVU_3hjV0g-xo7N9d1iyCdluyq_arftEPPe0,4989
19
19
  cidc_api/shared/gcloud_client.py,sha256=spgH0fapO713X82eV23uLXtq4aVWJHwEDK-XDxaehJc,33088
20
20
  cidc_api/shared/jose.py,sha256=-qzGzEDAlokEp9E7WtBtQkXyyfPWTYXlwYpCqVJWmqM,1830
21
21
  cidc_api/shared/rest_utils.py,sha256=RwR30WOUAYCxL7V-i2totEyeriG30GbBDvBcpLXhM9w,6594
22
- nci_cidc_api_modules-1.1.19.dist-info/licenses/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
23
- nci_cidc_api_modules-1.1.19.dist-info/METADATA,sha256=TCF0r39TG5P0BCGWVm1odIa6cNVAB1AdkJ4gfOybcNY,41284
24
- nci_cidc_api_modules-1.1.19.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
25
- nci_cidc_api_modules-1.1.19.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
26
- nci_cidc_api_modules-1.1.19.dist-info/RECORD,,
22
+ nci_cidc_api_modules-1.1.21.dist-info/licenses/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
23
+ nci_cidc_api_modules-1.1.21.dist-info/METADATA,sha256=dLozk9tHS5_MQV5SdEa9xTCGJsrxLnN1ao97Of1hOss,41285
24
+ nci_cidc_api_modules-1.1.21.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
25
+ nci_cidc_api_modules-1.1.21.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
26
+ nci_cidc_api_modules-1.1.21.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.1.0)
2
+ Generator: setuptools (80.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5