nci-cidc-schemas 0.27.18__tar.gz → 0.27.20__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.

Potentially problematic release.


This version of nci-cidc-schemas might be problematic. Click here for more details.

Files changed (240) hide show
  1. {nci_cidc_schemas-0.27.18/nci_cidc_schemas.egg-info → nci_cidc_schemas-0.27.20}/PKG-INFO +1 -1
  2. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/__init__.py +1 -1
  3. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/prism/core.py +22 -0
  4. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/sample.json +24 -0
  5. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/shipping_core.json +16 -1
  6. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20/nci_cidc_schemas.egg-info}/PKG-INFO +1 -1
  7. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/cidc_test_data/manifest_data.py +42 -16
  8. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/test_cidc_data_model.py +3 -3
  9. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/LICENSE +0 -0
  10. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/MANIFEST.in +0 -0
  11. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/README.md +0 -0
  12. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/cli.py +0 -0
  13. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/constants.py +0 -0
  14. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/json_validation.py +0 -0
  15. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/metaschema/strict_meta_schema.json +0 -0
  16. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/migrations.py +0 -0
  17. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/pipeline_configs/rna_level1_analysis_config.yaml.j2 +0 -0
  18. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/prism/__init__.py +0 -0
  19. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/prism/constants.py +0 -0
  20. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/prism/extra_metadata.py +0 -0
  21. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/prism/merger.py +0 -0
  22. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/prism/pipelines.py +0 -0
  23. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/aliquot.json +0 -0
  24. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_bam.json +0 -0
  25. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_bam_bai.json +0 -0
  26. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_bed.json +0 -0
  27. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_bigwig.json +0 -0
  28. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_binary.json +0 -0
  29. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_clinical_csv.json +0 -0
  30. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_clinical_docx.json +0 -0
  31. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_clinical_xlsx.json +0 -0
  32. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_cncf.json +0 -0
  33. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_cns.json +0 -0
  34. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_core.json +0 -0
  35. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_csv.json +0 -0
  36. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_elisa_xlsx.json +0 -0
  37. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_fastq_gz.json +0 -0
  38. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_fcs.json +0 -0
  39. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_file.json +0 -0
  40. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_gz.json +0 -0
  41. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_h5ad.json +0 -0
  42. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_image.json +0 -0
  43. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_jpg.json +0 -0
  44. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_json.json +0 -0
  45. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_junction.json +0 -0
  46. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_log.json +0 -0
  47. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_maf.json +0 -0
  48. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_narrowPeak.json +0 -0
  49. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_npx.json +0 -0
  50. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_ome_tiff.json +0 -0
  51. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_pdf.json +0 -0
  52. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_png.json +0 -0
  53. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_rcc.json +0 -0
  54. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_rdata.json +0 -0
  55. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_tbi.json +0 -0
  56. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_text.json +0 -0
  57. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_tsv.json +0 -0
  58. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_vcf.json +0 -0
  59. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_vcf_gz.json +0 -0
  60. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_xlsx.json +0 -0
  61. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_yaml.json +0 -0
  62. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/artifacts/artifact_zip.json +0 -0
  63. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/atacseq_assay.json +0 -0
  64. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/antibody.json +0 -0
  65. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/assay_core.json +0 -0
  66. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/available_assays.json +0 -0
  67. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/available_ngs_analyses.json +0 -0
  68. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/composite_image.json +0 -0
  69. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/controls.json +0 -0
  70. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/enrichment_core.json +0 -0
  71. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/excluded_samples.json +0 -0
  72. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/hande_local_file.json +0 -0
  73. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/image.json +0 -0
  74. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/imaging/mif_entry.json +0 -0
  75. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/imaging/mif_export.json +0 -0
  76. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/imaging/mif_input.json +0 -0
  77. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/imaging/mif_roi.json +0 -0
  78. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/imaging_data.json +0 -0
  79. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/local_file.json +0 -0
  80. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/mapping.json +0 -0
  81. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/mibi_antibody.json +0 -0
  82. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/mibi_imaging/mibi_input.json +0 -0
  83. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/mif_antibody.json +0 -0
  84. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/mihc_antibody.json +0 -0
  85. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/mihc_input.json +0 -0
  86. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/multiple_local_files.json +0 -0
  87. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/atacseq/atacseq_analysis.json +0 -0
  88. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/ngs_assay_record.json +0 -0
  89. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/fusion.json +0 -0
  90. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/microbiome.json +0 -0
  91. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/msisensor.json +0 -0
  92. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/neoantigen.json +0 -0
  93. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/rna_analysis.json +0 -0
  94. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/rna_level1_analysis.json +0 -0
  95. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/rseqc.json +0 -0
  96. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/salmon.json +0 -0
  97. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/star.json +0 -0
  98. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs/rna/trust4.json +0 -0
  99. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs_assay_core.json +0 -0
  100. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/ngs_assay_record.json +0 -0
  101. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/reads_core.json +0 -0
  102. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/components/reads_with_index.json +0 -0
  103. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/ctdna_assay.json +0 -0
  104. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/cytof_assay.json +0 -0
  105. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/cytof_assay_core.json +0 -0
  106. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/elisa_assay.json +0 -0
  107. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/hande_assay.json +0 -0
  108. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/ihc_assay.json +0 -0
  109. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/mibi_assay.json +0 -0
  110. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/microbiome_assay.json +0 -0
  111. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/mif_assay.json +0 -0
  112. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/mihc_assay.json +0 -0
  113. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/misc_data.json +0 -0
  114. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/nanostring_assay.json +0 -0
  115. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/olink_assay.json +0 -0
  116. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/rna_assay-v0.json +0 -0
  117. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/rna_assay.json +0 -0
  118. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/tcr_analysis.json +0 -0
  119. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/tcr_assay.json +0 -0
  120. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/wes_analysis.json +0 -0
  121. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/wes_assay.json +0 -0
  122. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/wes_core.json +0 -0
  123. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/assays/wes_tumor_only_analysis.json +0 -0
  124. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/clinical_data.json +0 -0
  125. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/clinical_trial.json +0 -0
  126. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/participant.json +0 -0
  127. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/analyses/atacseq_analysis_template.json +0 -0
  128. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/analyses/cytof_analysis_template.json +0 -0
  129. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/analyses/rna_level1_analysis_template.json +0 -0
  130. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/analyses/tcr_analysis_template.json +0 -0
  131. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/analyses/wes_analysis_template.json +0 -0
  132. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/analyses/wes_tumor_only_analysis_template.json +0 -0
  133. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/atacseq_fastq_template.json +0 -0
  134. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/clinical_data_template.json +0 -0
  135. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/ctdna_template.json +0 -0
  136. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/cytof_template.json +0 -0
  137. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/elisa_template.json +0 -0
  138. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/hande_template.json +0 -0
  139. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/ihc_template.json +0 -0
  140. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/mibi_template.json +0 -0
  141. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/microbiome_template.json +0 -0
  142. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/mif_template.json +0 -0
  143. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/mihc_template.json +0 -0
  144. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/misc_data_template.json +0 -0
  145. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/nanostring_template.json +0 -0
  146. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/olink_template.json +0 -0
  147. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/rna_bam_template.json +0 -0
  148. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/rna_fastq_template.json +0 -0
  149. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/tcr_adaptive_template.json +0 -0
  150. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/tcr_fastq_template.json +0 -0
  151. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/wes_bam_template.json +0 -0
  152. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/assays/wes_fastq_template.json +0 -0
  153. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/h_and_e_template.json +0 -0
  154. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/microbiome_dna_template.json +0 -0
  155. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/normal_blood_dna_template.json +0 -0
  156. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/normal_tissue_dna_template.json +0 -0
  157. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/pbmc_template.json +0 -0
  158. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/plasma_template.json +0 -0
  159. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/tissue_slide_template.json +0 -0
  160. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/tumor_normal_pairing_template.json +0 -0
  161. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/tumor_tissue_dna_template.json +0 -0
  162. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/schemas/templates/manifests/tumor_tissue_rna_template.json +0 -0
  163. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/template.py +0 -0
  164. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/template_reader.py +0 -0
  165. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/template_writer.py +0 -0
  166. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/unprism.py +0 -0
  167. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/cidc_schemas/util.py +0 -0
  168. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/nci_cidc_schemas.egg-info/SOURCES.txt +0 -0
  169. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/nci_cidc_schemas.egg-info/dependency_links.txt +0 -0
  170. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/nci_cidc_schemas.egg-info/entry_points.txt +0 -0
  171. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/nci_cidc_schemas.egg-info/not-zip-safe +0 -0
  172. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/nci_cidc_schemas.egg-info/requires.txt +0 -0
  173. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/nci_cidc_schemas.egg-info/top_level.txt +0 -0
  174. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/requirements.txt +0 -0
  175. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/setup.cfg +0 -0
  176. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/setup.py +0 -0
  177. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/__init__.py +0 -0
  178. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/conftest.py +0 -0
  179. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/constants.py +0 -0
  180. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinical_test_file.1.csv +0 -0
  181. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinical_test_file.1.xlsx +0 -0
  182. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinical_test_file.2.bom.csv +0 -0
  183. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinical_test_file.2.csv +0 -0
  184. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinical_test_file.2.xlsx +0 -0
  185. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinical_test_file.3.xlsx +0 -0
  186. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinical_test_file.docx +0 -0
  187. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinicaltrial_examples/CT_1.json +0 -0
  188. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinicaltrial_examples/CT_1PA_multiWES.json +0 -0
  189. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinicaltrial_examples/CT_cytof_with_analysis.json +0 -0
  190. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinicaltrial_examples/CT_ihc.json +0 -0
  191. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/clinicaltrial_examples/CT_minimal.json +0 -0
  192. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/date_examples.xlsx +0 -0
  193. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/elisa_test_file.1.xlsx +0 -0
  194. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/elisa_test_file.2.xlsx +0 -0
  195. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/hande_err_template.xlsx +0 -0
  196. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/olink/invalid_olink_assay_1_NPX.xlsx +0 -0
  197. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/olink/olink_assay_1_NPX.xlsx +0 -0
  198. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/olink/olink_assay_2_NPX.xlsx +0 -0
  199. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/olink/olink_assay_combined.xlsx +0 -0
  200. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/pbmc_invalid.xlsx +0 -0
  201. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/pbmc_manifest_valid.xlsx +0 -0
  202. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/1.json +0 -0
  203. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/a.json +0 -0
  204. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/b.json +0 -0
  205. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/c.json +0 -0
  206. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/d1/3.json +0 -0
  207. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/d1/d2/2.json +0 -0
  208. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/invalid_ref.json +0 -0
  209. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/target-templates/atacseq_analysis_template.json +0 -0
  210. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/target-templates/rna_level1_analysis_template.json +0 -0
  211. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/target-templates/wes_analysis_template.json +0 -0
  212. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/schemas/target-templates/wes_tumor_only_analysis_template.json +0 -0
  213. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/tiny_invalid_manifest.xlsx +0 -0
  214. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/data/tiny_valid_manifest.xlsx +0 -0
  215. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/__init__.py +0 -0
  216. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/cidc_test_data/__init__.py +0 -0
  217. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/cidc_test_data/analysis_data.py +0 -0
  218. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/cidc_test_data/assay_data.py +0 -0
  219. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/cidc_test_data/utils.py +0 -0
  220. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/schema/test_schema.json +0 -0
  221. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/test_constants.py +0 -0
  222. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/test_core.py +0 -0
  223. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/test_extra_metadata.py +0 -0
  224. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/test_merger.py +0 -0
  225. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/prism/test_pipelines.py +0 -0
  226. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_artifacts.py +0 -0
  227. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_assays.py +0 -0
  228. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_clinicaltrial_examples.py +0 -0
  229. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_json_validation.py +0 -0
  230. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_migrations.py +0 -0
  231. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_schemas.py +0 -0
  232. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_strict_meta_schema.py +0 -0
  233. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_template.py +0 -0
  234. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_template_reader.py +0 -0
  235. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_template_writer.py +0 -0
  236. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_templates.py +0 -0
  237. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_trial_core.py +0 -0
  238. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_unprism.py +0 -0
  239. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/test_util.py +0 -0
  240. {nci_cidc_schemas-0.27.18 → nci_cidc_schemas-0.27.20}/tests/utils/test_template_generator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nci_cidc_schemas
3
- Version: 0.27.18
3
+ Version: 0.27.20
4
4
  Summary: The CIDC data model and tools for working with it.
5
5
  Home-page: https://github.com/NCI-CIDC/cidc-schemas
6
6
  Author: NCI
@@ -2,4 +2,4 @@
2
2
 
3
3
  __author__ = """NCI"""
4
4
  __email__ = "nci-cidc-tools-admin@mail.nih.gov"
5
- __version__ = "0.27.18"
5
+ __version__ = "0.27.20"
@@ -18,6 +18,7 @@ from .merger import PRISM_MERGE_STRATEGIES, MergeCollisionException
18
18
  from ..util import get_logger
19
19
  from jsonmerge import Merger
20
20
  from jsonpointer import EndOfList, JsonPointer, JsonPointerException, resolve_pointer
21
+ from datetime import date
21
22
 
22
23
  from .constants import SUPPORTED_TEMPLATES
23
24
 
@@ -533,4 +534,25 @@ def prismify(
533
534
  else:
534
535
  root_ct_obj = template_root_obj
535
536
 
537
+ # Adding additional fields during manifest ingestion
538
+ if "shipments" in root_ct_obj:
539
+ if len(root_ct_obj["shipments"]) != 1:
540
+ raise Exception("Can only process one manifest at a time")
541
+ root_ct_obj["shipments"][0]["upload_type"] = template.type
542
+ root_ct_obj["shipments"][0]["date_ingested"] = date.today().strftime("%Y-%m-%d")
543
+ manifest = root_ct_obj["shipments"][0]
544
+ for participant in root_ct_obj["participants"]:
545
+ for sample in participant["samples"]:
546
+ fields = [
547
+ "manifest_id",
548
+ "upload_type",
549
+ "assay_type",
550
+ "ship_to_name",
551
+ "ship_from_name",
552
+ "date_ingested",
553
+ ]
554
+ for field in fields:
555
+ if field in manifest:
556
+ sample[field] = manifest[field]
557
+
536
558
  return root_ct_obj, collected_files, errors_so_far
@@ -537,6 +537,30 @@
537
537
  "intended_assay": {
538
538
  "type": "string",
539
539
  "description": "The assay that this sample is expected to be used as input for."
540
+ },
541
+ "manifest_id": {
542
+ "type": "string",
543
+ "description": "Id of the manifest"
544
+ },
545
+ "upload_type": {
546
+ "type": "string",
547
+ "description": "Type of manifest"
548
+ },
549
+ "date_ingested": {
550
+ "type": "string",
551
+ "description": "Date CIDC ingested the sample/manifest"
552
+ },
553
+ "assay_type": {
554
+ "type": "string",
555
+ "description": "Assay type of sample"
556
+ },
557
+ "ship_to_name": {
558
+ "type": "string",
559
+ "description": "Recipient of sample"
560
+ },
561
+ "ship_from_name": {
562
+ "type": "string",
563
+ "description": "Sender of sample"
540
564
  }
541
565
  },
542
566
  "additionalProperties": false,
@@ -42,20 +42,27 @@
42
42
  "enum": [
43
43
  "Olink",
44
44
  "WES",
45
+ "BD Rhapsody",
46
+ "GeoMx",
45
47
  "RNAseq",
46
48
  "IHC",
47
49
  "CyTOF",
48
50
  "H&E",
49
51
  "ELISA",
52
+ "EVP",
50
53
  "mIF",
51
54
  "mIHC",
55
+ "MALDI Glycan",
52
56
  "TCRseq",
53
57
  "ATACseq",
54
58
  "ctDNA",
55
59
  "Microbiome",
56
60
  "Nanostring",
61
+ "NULISA",
57
62
  "MIBI",
58
- "scRNA-Seq"
63
+ "scRNA-Seq",
64
+ "snRNA-Seq",
65
+ "Visium"
59
66
  ]
60
67
  },
61
68
  "courier": {
@@ -174,6 +181,14 @@
174
181
  "receiving_party": {
175
182
  "description": "Site where sample was shipped to be assayed.",
176
183
  "type": "string"
184
+ },
185
+ "upload_type": {
186
+ "description": "The type of manifest being uploaded",
187
+ "type": "string"
188
+ },
189
+ "date_ingested": {
190
+ "description": "The date CIDC ingests the manifest",
191
+ "type": "string"
177
192
  }
178
193
  }
179
194
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nci_cidc_schemas
3
- Version: 0.27.18
3
+ Version: 0.27.20
4
4
  Summary: The CIDC data model and tools for working with it.
5
5
  Home-page: https://github.com/NCI-CIDC/cidc-schemas
6
6
  Author: NCI
@@ -9,6 +9,7 @@ from .utils import (
9
9
  LocalFileUploadEntry,
10
10
  PrismTestData,
11
11
  )
12
+ from datetime import date
12
13
 
13
14
  manifest_data_generators = []
14
15
 
@@ -21,12 +22,15 @@ def manifest_data_generator(f):
21
22
  @manifest_data_generator
22
23
  def plasma() -> PrismTestData:
23
24
  upload_type = "plasma"
25
+ current_date = date.today().strftime("%Y-%m-%d")
24
26
  prismify_args = get_prismify_args(upload_type)
25
27
  prismify_patch = {
26
28
  "protocol_identifier": "test_prism_trial_id",
27
29
  "shipments": [
28
30
  {
29
31
  "manifest_id": "test_prism_trial_id_PLASMA",
32
+ "upload_type": "plasma",
33
+ "date_ingested": current_date,
30
34
  "assay_priority": "4",
31
35
  "assay_type": "Olink",
32
36
  "receiving_party": "MSSM_Gnjatic",
@@ -59,23 +63,21 @@ def plasma() -> PrismTestData:
59
63
  {
60
64
  "samples": [
61
65
  {
62
- "shipping_entry_number": 1,
63
66
  "cimac_id": "CTTTP01A1.00",
64
- "surgical_pathology_report_id": "test_encrypted('Surgical pathology report 1')",
65
- "clinical_report_id": "test_encrypted('clinical report 1')",
67
+ "upload_type": "plasma",
68
+ "manifest_id": "test_prism_trial_id_PLASMA",
69
+ "assay_type": "Olink",
70
+ "date_ingested": current_date,
71
+ "ship_to_name": "Marie",
72
+ "ship_from_name": "Jared",
66
73
  "collection_event_name": "Baseline",
67
- "diagnosis_verification": "Local pathology review was not consistent",
68
- "site_description": "ADRENAL GLANDS",
69
- "topography_code": "C00.2",
70
- "topography_description": "External lower lip",
71
- "histology_behavior": "8003/3",
72
- "histology_behavior_description": "Neoplasm, malignant",
73
74
  "parent_sample_id": "test_encrypted('TTTPP1A1')",
74
75
  "processed_sample_id": "test_encrypted('BIOBANK 1A1')",
75
- "processed_sample_quantity": 5,
76
+ "processed_sample_quantity": 5.0,
76
77
  "box_number": "1",
77
78
  "sample_location": "A1",
78
79
  "type_of_sample": "Whole Blood",
80
+ "type_of_primary_container": "Bag",
79
81
  "sample_collection_procedure": "Core Biopsy",
80
82
  "processed_sample_type": "Bone Marrow Film",
81
83
  "processed_sample_volume": 1.0,
@@ -91,11 +93,16 @@ def plasma() -> PrismTestData:
91
93
  "comments": "Comment",
92
94
  },
93
95
  {
94
- "shipping_entry_number": 2,
95
96
  "collection_event_name": "Baseline",
96
97
  "parent_sample_id": "test_encrypted('TTTPP1A2')",
97
98
  "processed_sample_id": "test_encrypted('BIOBANK 1A2')",
98
99
  "cimac_id": "CTTTP01A2.00",
100
+ "upload_type": "plasma",
101
+ "manifest_id": "test_prism_trial_id_PLASMA",
102
+ "assay_type": "Olink",
103
+ "date_ingested": current_date,
104
+ "ship_to_name": "Marie",
105
+ "ship_from_name": "Jared",
99
106
  "box_number": "1",
100
107
  "sample_location": "A2",
101
108
  "type_of_sample": "Whole Blood",
@@ -116,11 +123,16 @@ def plasma() -> PrismTestData:
116
123
  "comments": "No comment",
117
124
  },
118
125
  {
119
- "shipping_entry_number": 3,
120
126
  "collection_event_name": "Baseline",
121
127
  "parent_sample_id": "test_encrypted('TTTPP1A3')",
122
128
  "processed_sample_id": "test_encrypted('BIOBANK 1A3')",
123
129
  "cimac_id": "CTTTP01A3.00",
130
+ "upload_type": "plasma",
131
+ "manifest_id": "test_prism_trial_id_PLASMA",
132
+ "assay_type": "Olink",
133
+ "date_ingested": current_date,
134
+ "ship_to_name": "Marie",
135
+ "ship_from_name": "Jared",
124
136
  "box_number": "1",
125
137
  "sample_location": "A3",
126
138
  "type_of_sample": "Whole Blood",
@@ -143,19 +155,21 @@ def plasma() -> PrismTestData:
143
155
  ],
144
156
  "participant_id": "test_encrypted('TTTP01')",
145
157
  "cimac_participant_id": "CTTTP01",
146
- "gender": "Female",
147
- "race": "Asian",
148
- "ethnicity": "Hispanic or Latino",
149
158
  "cohort_name": "Arm_Z",
150
159
  },
151
160
  {
152
161
  "samples": [
153
162
  {
154
- "shipping_entry_number": 4,
155
163
  "collection_event_name": "Baseline",
156
164
  "parent_sample_id": "test_encrypted('TTTPP2A1')",
157
165
  "processed_sample_id": "test_encrypted('BIOBANK 2A1')",
158
166
  "cimac_id": "CTTTP02A1.00",
167
+ "upload_type": "plasma",
168
+ "manifest_id": "test_prism_trial_id_PLASMA",
169
+ "assay_type": "Olink",
170
+ "date_ingested": current_date,
171
+ "ship_to_name": "Marie",
172
+ "ship_from_name": "Jared",
159
173
  "box_number": "1",
160
174
  "sample_location": "A4",
161
175
  "type_of_sample": "Whole Blood",
@@ -179,6 +193,12 @@ def plasma() -> PrismTestData:
179
193
  "parent_sample_id": "test_encrypted('TTTPP2A2')",
180
194
  "processed_sample_id": "test_encrypted('BIOBANK 2A2')",
181
195
  "cimac_id": "CTTTP02A2.00",
196
+ "upload_type": "plasma",
197
+ "manifest_id": "test_prism_trial_id_PLASMA",
198
+ "assay_type": "Olink",
199
+ "date_ingested": current_date,
200
+ "ship_to_name": "Marie",
201
+ "ship_from_name": "Jared",
182
202
  "box_number": "1",
183
203
  "sample_location": "A5",
184
204
  "type_of_sample": "Whole Blood",
@@ -202,6 +222,12 @@ def plasma() -> PrismTestData:
202
222
  "parent_sample_id": "test_encrypted('TTTPP2A3')",
203
223
  "processed_sample_id": "test_encrypted('BIOBANK 2A3')",
204
224
  "cimac_id": "CTTTP02A3.00",
225
+ "upload_type": "plasma",
226
+ "manifest_id": "test_prism_trial_id_PLASMA",
227
+ "assay_type": "Olink",
228
+ "date_ingested": current_date,
229
+ "ship_to_name": "Marie",
230
+ "ship_from_name": "Jared",
205
231
  "box_number": "1",
206
232
  "sample_location": "A6",
207
233
  "type_of_sample": "Whole Blood",
@@ -59,10 +59,10 @@ def test_gcs_uri_format(prism_test: PrismTestData):
59
59
  assert ue.gs_key.startswith(f"{prot_id}/{assay}")
60
60
 
61
61
 
62
- @pytest.mark.skip(
63
- reason="Uses Manifest template(s) that are intended to go away with CSMS integration."
64
- )
65
62
  def test_prismify(prism_test: PrismTestData, monkeypatch):
63
+ # TODO: make tests work for all manifest types. It was a lot of work to make one work
64
+ if prism_test.upload_type != "plasma":
65
+ pytest.skip("Manifest tests not set up yet")
66
66
  monkeypatch.setattr(
67
67
  "cidc_schemas.prism.core._encrypt", lambda x: f"test_encrypted({str(x)!r})"
68
68
  )