nci-cidc-api-modules 1.1.3__py3-none-any.whl → 1.1.5__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.
- cidc_api/models/csms_api.py +5 -5
- {nci_cidc_api_modules-1.1.3.dist-info → nci_cidc_api_modules-1.1.5.dist-info}/METADATA +6 -6
- {nci_cidc_api_modules-1.1.3.dist-info → nci_cidc_api_modules-1.1.5.dist-info}/RECORD +6 -6
- {nci_cidc_api_modules-1.1.3.dist-info → nci_cidc_api_modules-1.1.5.dist-info}/LICENSE +0 -0
- {nci_cidc_api_modules-1.1.3.dist-info → nci_cidc_api_modules-1.1.5.dist-info}/WHEEL +0 -0
- {nci_cidc_api_modules-1.1.3.dist-info → nci_cidc_api_modules-1.1.5.dist-info}/top_level.txt +0 -0
cidc_api/models/csms_api.py
CHANGED
@@ -126,7 +126,7 @@ def _get_upload_type(samples: Iterable[Dict[str, Any]]) -> str:
|
|
126
126
|
|
127
127
|
for sample in samples:
|
128
128
|
processed_type = sample.get("processed_sample_type").lower()
|
129
|
-
if processed_type == "h&e
|
129
|
+
if processed_type == "h&e fixed tissue slide":
|
130
130
|
processed_type = "h_and_e"
|
131
131
|
|
132
132
|
if processed_type in [
|
@@ -268,11 +268,11 @@ def _process_csms_sample(csms_sample: dict):
|
|
268
268
|
|
269
269
|
# differences in naming convention
|
270
270
|
processed_sample_type_map: Dict[str, str] = {
|
271
|
-
"tissue_slide": "Fixed Slide",
|
272
|
-
"tumor_tissue_dna": "Tissue Scroll",
|
271
|
+
"tissue_slide": "Fixed Tissue Slide",
|
272
|
+
"tumor_tissue_dna": "FFPE Tissue Scroll",
|
273
273
|
"plasma": "Plasma",
|
274
|
-
"normal_tissue_dna": "Tissue Scroll",
|
275
|
-
"h_and_e": "H&E
|
274
|
+
"normal_tissue_dna": "FFPE Tissue Scroll",
|
275
|
+
"h_and_e": "H&E Fixed Tissue Slide",
|
276
276
|
"pbmc": "PBMC",
|
277
277
|
}
|
278
278
|
if csms_sample["processed_sample_type"] in processed_sample_type_map:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nci_cidc_api_modules
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.5
|
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.5
|
30
30
|
Requires-Dist: certifi==2024.7.4
|
31
|
-
Requires-Dist: nci-cidc-schemas==0.27.
|
31
|
+
Requires-Dist: nci-cidc-schemas==0.27.04
|
32
32
|
Dynamic: description
|
33
33
|
Dynamic: description-content-type
|
34
34
|
Dynamic: home-page
|
@@ -91,8 +91,8 @@ In production, the CIDC API connects to a PostgreSQL instance hosted by Google C
|
|
91
91
|
To do so, first install and start PostgreSQL:
|
92
92
|
|
93
93
|
```bash
|
94
|
-
brew install postgresql@
|
95
|
-
brew services start postgresql@
|
94
|
+
brew install postgresql@16
|
95
|
+
brew services start postgresql@16 # launches the postgres service whenever your computer launches
|
96
96
|
```
|
97
97
|
|
98
98
|
> The cidc-devops repo creates a Cloud SQL instance using postgresql@9.6 which is disabled through homebrew. The earliest non-deprecated version through homebrew is postgresql@11.
|
@@ -117,12 +117,12 @@ In that case, use the plist file referenced in the command output to locate wher
|
|
117
117
|
|
118
118
|
---
|
119
119
|
|
120
|
-
Homebrew will install the psql client (psql) under /opt/homebrew/Cellar/postgresql@
|
120
|
+
Homebrew will install the psql client (psql) under /opt/homebrew/Cellar/postgresql@16/16.8/bin/ ; you may want to create a symlink from here to somewhere in your path.
|
121
121
|
|
122
122
|
By default, the postgres service listens on port 5432. Next, create the `cidcdev` user, your local `cidc` development database, and a local `cidctest` database that the unit/integration tests will use:
|
123
123
|
|
124
124
|
```bash
|
125
|
-
psql
|
125
|
+
psql postgres -c "create user cidcdev with password '1234'"
|
126
126
|
|
127
127
|
# Database to use for local development
|
128
128
|
psql postgres -c "create database cidc"
|
@@ -6,7 +6,7 @@ cidc_api/config/settings.py,sha256=2VHOVWdN4yUCNYMob2gaWgH2-1_4sbuo46JEIVT_PCY,4
|
|
6
6
|
cidc_api/csms/__init__.py,sha256=eJkY6rWNOAUBmSd4G1_U6h7i472druKEtBdVmgFZVPg,20
|
7
7
|
cidc_api/csms/auth.py,sha256=25Yma2Kz3KLENAPSeBYacFuSZXng-EDgmgInKBsRyP0,3191
|
8
8
|
cidc_api/models/__init__.py,sha256=bl445G8Zic9YbhZ8ZBni07wtBMhLJRMBA-JqjLxx2bw,66
|
9
|
-
cidc_api/models/csms_api.py,sha256=
|
9
|
+
cidc_api/models/csms_api.py,sha256=hw5ahcXZgE6huP18S0y0Hjin5rCSefMIUNYPOh1x5n8,31613
|
10
10
|
cidc_api/models/migrations.py,sha256=gp9vtkYbA9FFy2s-7woelAmsvQbJ41LO2_DY-YkFIrQ,11464
|
11
11
|
cidc_api/models/models.py,sha256=kszT6ApBOIDsRJRHiYQvWo8283Jox_x0nPuetXBeK74,126680
|
12
12
|
cidc_api/models/schemas.py,sha256=7tDYtmULuzTt2kg7RorWhte06ffalgpQKrFiDRGcPEQ,2711
|
@@ -19,8 +19,8 @@ cidc_api/shared/emails.py,sha256=TXKrga3A8rvaUKIH68ASmjkg9qMdFCWDf5HHxPvro5M,489
|
|
19
19
|
cidc_api/shared/gcloud_client.py,sha256=7dDs0crLMJKdIp4IDSfrZBMB3h-zvWNieB81azoeLO4,33746
|
20
20
|
cidc_api/shared/jose.py,sha256=QO30uIhbYDwzPEWWJXz0PfyV7E1AZHReEZJUVT70UJY,1844
|
21
21
|
cidc_api/shared/rest_utils.py,sha256=LMfBpvJRjkfQjCzVXuhTTe4Foz4wlvaKg6QntyR-Hkc,6648
|
22
|
-
nci_cidc_api_modules-1.1.
|
23
|
-
nci_cidc_api_modules-1.1.
|
24
|
-
nci_cidc_api_modules-1.1.
|
25
|
-
nci_cidc_api_modules-1.1.
|
26
|
-
nci_cidc_api_modules-1.1.
|
22
|
+
nci_cidc_api_modules-1.1.5.dist-info/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
|
23
|
+
nci_cidc_api_modules-1.1.5.dist-info/METADATA,sha256=uqkkK2Ks9VrPuvKv1ZqmV3nGE_Q2tNbWyQ3lquMf8Dw,40802
|
24
|
+
nci_cidc_api_modules-1.1.5.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
25
|
+
nci_cidc_api_modules-1.1.5.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
|
26
|
+
nci_cidc_api_modules-1.1.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|