nci-cidc-api-modules 1.2.8__py3-none-any.whl → 1.2.9__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/models.py CHANGED
@@ -3247,7 +3247,8 @@ def upload_manifest_json(
3247
3247
 
3248
3248
  TRIAL_APPENDIX_A = "trial_appendix_a"
3249
3249
  REQUEST_LETTER = "request_letter"
3250
- ADMIN_FILE_CATEGORIES = [TRIAL_APPENDIX_A, REQUEST_LETTER]
3250
+ DETAILED_VALIDATION = "detailed_validation"
3251
+ ADMIN_FILE_CATEGORIES = [TRIAL_APPENDIX_A, REQUEST_LETTER, DETAILED_VALIDATION]
3251
3252
 
3252
3253
 
3253
3254
  class PreprocessedFiles(CommonColumns):
@@ -3419,7 +3420,7 @@ INGESTION_JOB_COLORS = {
3419
3420
  }
3420
3421
  # TODO If have "CANCELLED" concept or other final status, add here
3421
3422
  FINAL_JOB_STATUS = ["PUBLISHED"]
3422
- TRIAL_APPENDIX_A_CELL_THAT_ENDS_THE_HEADER = "Entity"
3423
+ TRIAL_APPENDIX_A_CELL_THAT_ENDS_THE_HEADER = "Data Category"
3423
3424
 
3424
3425
 
3425
3426
  class IngestionJobs(CommonColumns):
@@ -3465,7 +3466,7 @@ class IngestionJobs(CommonColumns):
3465
3466
  if headers_ended:
3466
3467
  if cell != "nan" and cell not in categories:
3467
3468
  categories.append(cell)
3468
- elif cell == TRIAL_APPENDIX_A_CELL_THAT_ENDS_THE_HEADER:
3469
+ elif cell.lower() == TRIAL_APPENDIX_A_CELL_THAT_ENDS_THE_HEADER.lower():
3469
3470
  headers_ended = True
3470
3471
  if "data_dictionary" not in categories:
3471
3472
  # Ensure Data_Dictionary is always a required file category
@@ -3628,7 +3629,7 @@ class FileValidationErrors(CommonColumns):
3628
3629
  class ValidationConfigs(CommonColumns):
3629
3630
  __tablename__ = "validation_configs"
3630
3631
 
3631
- data_label = Column(String, nullable=True)
3632
+ data_element = Column(String, nullable=True)
3632
3633
  validation = Column(String, nullable=True)
3633
3634
  scope = Column(String, nullable=True)
3634
3635
  active = Column(Boolean, nullable=False, default=True, server_default="true")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nci_cidc_api_modules
3
- Version: 1.2.8
3
+ Version: 1.2.9
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
@@ -5,7 +5,7 @@ cidc_api/config/secrets.py,sha256=jRFj7W43pWuPf9DZQLCKF7WPXf5cUv-BAaS3ASqhV_Q,14
5
5
  cidc_api/config/settings.py,sha256=NsJbqW6Vqcz2f79xcAbk4th5tHne_I-RPCbKq_3hpz0,4427
6
6
  cidc_api/models/__init__.py,sha256=bl445G8Zic9YbhZ8ZBni07wtBMhLJRMBA-JqjLxx2bw,66
7
7
  cidc_api/models/migrations.py,sha256=gp9vtkYbA9FFy2s-7woelAmsvQbJ41LO2_DY-YkFIrQ,11464
8
- cidc_api/models/models.py,sha256=8hfETKW-FN27aDmntprcj-4T59oB46oK9sdrll5tprs,146839
8
+ cidc_api/models/models.py,sha256=UuMSZCJnKwik-xxijZJzRRlSkM6DL3325VVwqyLwrdE,146929
9
9
  cidc_api/models/schemas.py,sha256=6IE2dJoEMcMbi0Vr1V3cYKnPKU0hv9vRKBixOZHe88s,2766
10
10
  cidc_api/models/files/__init__.py,sha256=8BMTnUSHzUbz0lBeEQY6NvApxDD3GMWMduoVMos2g4Y,213
11
11
  cidc_api/models/files/details.py,sha256=sZkGM7iEV4-J6IDQCdiMV6KBDLbPxCOqUMaU3aY9rX8,65153
@@ -17,8 +17,8 @@ cidc_api/shared/file_handling.py,sha256=l4wiRkVJLL7QbCoODsLx-uki6Km8QoMmUlRVnUV9
17
17
  cidc_api/shared/gcloud_client.py,sha256=ETQ34qKtO7l0svVhiHXxXewiyNjwIMgoeVcqrg-Twtk,36902
18
18
  cidc_api/shared/jose.py,sha256=-qzGzEDAlokEp9E7WtBtQkXyyfPWTYXlwYpCqVJWmqM,1830
19
19
  cidc_api/shared/rest_utils.py,sha256=RwR30WOUAYCxL7V-i2totEyeriG30GbBDvBcpLXhM9w,6594
20
- nci_cidc_api_modules-1.2.8.dist-info/licenses/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
21
- nci_cidc_api_modules-1.2.8.dist-info/METADATA,sha256=AZJg2SGHrtzfm5wNtIBAzSfqRyrJdPGwRtmFKEoWxTY,39538
22
- nci_cidc_api_modules-1.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- nci_cidc_api_modules-1.2.8.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
24
- nci_cidc_api_modules-1.2.8.dist-info/RECORD,,
20
+ nci_cidc_api_modules-1.2.9.dist-info/licenses/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
21
+ nci_cidc_api_modules-1.2.9.dist-info/METADATA,sha256=YtN0QLuxkUxBd_pqLLO9RcukYocWaevXw91L0F-sqoY,39538
22
+ nci_cidc_api_modules-1.2.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
+ nci_cidc_api_modules-1.2.9.dist-info/top_level.txt,sha256=rNiRzL0lJGi5Q9tY9uSoMdTbJ-7u5c_D2E86KA94yRA,9
24
+ nci_cidc_api_modules-1.2.9.dist-info/RECORD,,