nci-cidc-schemas 0.27.27__tar.gz → 0.28.0__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.
Files changed (263) hide show
  1. {nci_cidc_schemas-0.27.27/nci_cidc_schemas.egg-info → nci_cidc_schemas-0.28.0}/PKG-INFO +24 -15
  2. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/README.md +12 -0
  3. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/__init__.py +1 -1
  4. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/json_validation.py +1 -2
  5. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/extra_metadata.py +7 -5
  6. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/template.py +1 -1
  7. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0/nci_cidc_schemas.egg-info}/PKG-INFO +24 -15
  8. nci_cidc_schemas-0.28.0/nci_cidc_schemas.egg-info/requires.txt +11 -0
  9. nci_cidc_schemas-0.28.0/requirements.txt +11 -0
  10. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/setup.py +1 -1
  11. nci_cidc_schemas-0.28.0/tests/data/olink/olink_assay_2_NPX.xlsx +0 -0
  12. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_core.py +1 -1
  13. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_extra_metadata.py +5 -3
  14. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_merger.py +10 -2
  15. nci_cidc_schemas-0.27.27/nci_cidc_schemas.egg-info/requires.txt +0 -14
  16. nci_cidc_schemas-0.27.27/requirements.txt +0 -14
  17. nci_cidc_schemas-0.27.27/tests/data/olink/olink_assay_2_NPX.xlsx +0 -0
  18. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/LICENSE +0 -0
  19. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/MANIFEST.in +0 -0
  20. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/cli.py +0 -0
  21. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/constants.py +0 -0
  22. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/metaschema/strict_meta_schema.json +0 -0
  23. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/migrations.py +0 -0
  24. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/pipeline_configs/rna_level1_analysis_config.yaml.j2 +0 -0
  25. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/__init__.py +0 -0
  26. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/constants.py +0 -0
  27. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/core.py +0 -0
  28. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/merger.py +0 -0
  29. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/pipelines.py +0 -0
  30. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/aliquot.json +0 -0
  31. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_bam.json +0 -0
  32. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_bam_bai.json +0 -0
  33. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_bed.json +0 -0
  34. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_bigwig.json +0 -0
  35. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_binary.json +0 -0
  36. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_clinical_csv.json +0 -0
  37. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_clinical_docx.json +0 -0
  38. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_clinical_xlsx.json +0 -0
  39. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_cncf.json +0 -0
  40. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_cns.json +0 -0
  41. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_core.json +0 -0
  42. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_csv.json +0 -0
  43. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_elisa_xlsx.json +0 -0
  44. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_fastq_gz.json +0 -0
  45. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_fcs.json +0 -0
  46. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_file.json +0 -0
  47. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_gz.json +0 -0
  48. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_h5ad.json +0 -0
  49. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_html.json +0 -0
  50. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_image.json +0 -0
  51. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_jpg.json +0 -0
  52. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_json.json +0 -0
  53. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_junction.json +0 -0
  54. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_log.json +0 -0
  55. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_maf.json +0 -0
  56. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_mtx.json +0 -0
  57. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_narrowPeak.json +0 -0
  58. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_npx.json +0 -0
  59. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_ome_tiff.json +0 -0
  60. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_out.json +0 -0
  61. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_pdf.json +0 -0
  62. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_png.json +0 -0
  63. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_rcc.json +0 -0
  64. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_rdata.json +0 -0
  65. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_rds.json +0 -0
  66. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_stats.json +0 -0
  67. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_tab.json +0 -0
  68. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_tbi.json +0 -0
  69. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_text.json +0 -0
  70. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_tiff.json +0 -0
  71. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_tsv.json +0 -0
  72. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_txt.json +0 -0
  73. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_vcf.json +0 -0
  74. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_vcf_gz.json +0 -0
  75. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_xlsx.json +0 -0
  76. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_yaml.json +0 -0
  77. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_zip.json +0 -0
  78. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/atacseq_assay.json +0 -0
  79. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/antibody.json +0 -0
  80. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/assay_core.json +0 -0
  81. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/available_assays.json +0 -0
  82. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/available_ngs_analyses.json +0 -0
  83. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/composite_image.json +0 -0
  84. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/controls.json +0 -0
  85. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/enrichment_core.json +0 -0
  86. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/excluded_samples.json +0 -0
  87. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/hande_local_file.json +0 -0
  88. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/image.json +0 -0
  89. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging/mif_entry.json +0 -0
  90. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging/mif_export.json +0 -0
  91. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging/mif_input.json +0 -0
  92. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging/mif_roi.json +0 -0
  93. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging_data.json +0 -0
  94. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/local_file.json +0 -0
  95. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mapping.json +0 -0
  96. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mibi_antibody.json +0 -0
  97. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mibi_imaging/mibi_input.json +0 -0
  98. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mif_antibody.json +0 -0
  99. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mihc_antibody.json +0 -0
  100. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mihc_input.json +0 -0
  101. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/multiple_local_files.json +0 -0
  102. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/atacseq/atacseq_analysis.json +0 -0
  103. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/ngs_assay_record.json +0 -0
  104. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/fusion.json +0 -0
  105. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/microbiome.json +0 -0
  106. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/msisensor.json +0 -0
  107. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/neoantigen.json +0 -0
  108. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/rna_analysis.json +0 -0
  109. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/rna_level1_analysis.json +0 -0
  110. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/rseqc.json +0 -0
  111. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/salmon.json +0 -0
  112. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/star.json +0 -0
  113. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/trust4.json +0 -0
  114. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs_assay_core.json +0 -0
  115. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs_assay_record.json +0 -0
  116. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/reads_core.json +0 -0
  117. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/reads_with_index.json +0 -0
  118. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/scrnaseq_input.json +0 -0
  119. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/scrnaseq_preamble.json +0 -0
  120. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/visium_input.json +0 -0
  121. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/visium_preamble.json +0 -0
  122. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/ctdna_assay.json +0 -0
  123. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/cytof_assay.json +0 -0
  124. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/cytof_assay_core.json +0 -0
  125. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/elisa_assay.json +0 -0
  126. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/hande_assay.json +0 -0
  127. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/ihc_assay.json +0 -0
  128. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/mibi_assay.json +0 -0
  129. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/microbiome_assay.json +0 -0
  130. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/mif_assay.json +0 -0
  131. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/mihc_assay.json +0 -0
  132. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/misc_data.json +0 -0
  133. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/nanostring_assay.json +0 -0
  134. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/olink_assay.json +0 -0
  135. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/rna_assay-v0.json +0 -0
  136. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/rna_assay.json +0 -0
  137. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/scrnaseq_analysis.json +0 -0
  138. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/scrnaseq_assay.json +0 -0
  139. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/tcr_analysis.json +0 -0
  140. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/tcr_assay.json +0 -0
  141. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/visium_analysis.json +0 -0
  142. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/visium_assay.json +0 -0
  143. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/wes_analysis.json +0 -0
  144. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/wes_assay.json +0 -0
  145. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/wes_core.json +0 -0
  146. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/wes_tumor_only_analysis.json +0 -0
  147. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/clinical_data.json +0 -0
  148. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/clinical_trial.json +0 -0
  149. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/participant.json +0 -0
  150. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/sample.json +0 -0
  151. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/shipping_core.json +0 -0
  152. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/atacseq_analysis_template.json +0 -0
  153. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/cytof_analysis_template.json +0 -0
  154. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/rna_level1_analysis_template.json +0 -0
  155. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/scrnaseq_analysis_template.json +0 -0
  156. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/tcr_analysis_template.json +0 -0
  157. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/visium_analysis_template.json +0 -0
  158. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/wes_analysis_template.json +0 -0
  159. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/wes_tumor_only_analysis_template.json +0 -0
  160. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/atacseq_fastq_template.json +0 -0
  161. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/clinical_data_template.json +0 -0
  162. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/ctdna_template.json +0 -0
  163. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/cytof_template.json +0 -0
  164. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/elisa_template.json +0 -0
  165. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/hande_template.json +0 -0
  166. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/ihc_template.json +0 -0
  167. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/mibi_template.json +0 -0
  168. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/microbiome_template.json +0 -0
  169. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/mif_template.json +0 -0
  170. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/mihc_template.json +0 -0
  171. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/misc_data_template.json +0 -0
  172. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/nanostring_template.json +0 -0
  173. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/olink_template.json +0 -0
  174. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/rna_bam_template.json +0 -0
  175. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/rna_fastq_template.json +0 -0
  176. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/scrnaseq_template.json +0 -0
  177. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/tcr_adaptive_template.json +0 -0
  178. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/tcr_fastq_template.json +0 -0
  179. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/visium_template.json +0 -0
  180. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/wes_bam_template.json +0 -0
  181. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/wes_fastq_template.json +0 -0
  182. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/h_and_e_template.json +0 -0
  183. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/microbiome_dna_template.json +0 -0
  184. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/normal_blood_dna_template.json +0 -0
  185. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/normal_tissue_dna_template.json +0 -0
  186. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/pbmc_template.json +0 -0
  187. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/plasma_template.json +0 -0
  188. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/tissue_slide_template.json +0 -0
  189. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/tumor_normal_pairing_template.json +0 -0
  190. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/tumor_tissue_dna_template.json +0 -0
  191. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/tumor_tissue_rna_template.json +0 -0
  192. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/template_reader.py +0 -0
  193. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/template_writer.py +0 -0
  194. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/unprism.py +0 -0
  195. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/util.py +0 -0
  196. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/SOURCES.txt +0 -0
  197. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/dependency_links.txt +0 -0
  198. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/entry_points.txt +0 -0
  199. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/not-zip-safe +0 -0
  200. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/top_level.txt +0 -0
  201. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/setup.cfg +0 -0
  202. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/__init__.py +0 -0
  203. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/conftest.py +0 -0
  204. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/constants.py +0 -0
  205. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.1.csv +0 -0
  206. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.1.xlsx +0 -0
  207. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.2.bom.csv +0 -0
  208. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.2.csv +0 -0
  209. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.2.xlsx +0 -0
  210. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.3.xlsx +0 -0
  211. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.docx +0 -0
  212. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_1.json +0 -0
  213. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_1PA_multiWES.json +0 -0
  214. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_cytof_with_analysis.json +0 -0
  215. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_ihc.json +0 -0
  216. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_minimal.json +0 -0
  217. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/date_examples.xlsx +0 -0
  218. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/elisa_test_file.1.xlsx +0 -0
  219. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/elisa_test_file.2.xlsx +0 -0
  220. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/hande_err_template.xlsx +0 -0
  221. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/olink/invalid_olink_assay_1_NPX.xlsx +0 -0
  222. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/olink/olink_assay_1_NPX.xlsx +0 -0
  223. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/olink/olink_assay_combined.xlsx +0 -0
  224. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/pbmc_invalid.xlsx +0 -0
  225. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/pbmc_manifest_valid.xlsx +0 -0
  226. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/1.json +0 -0
  227. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/a.json +0 -0
  228. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/b.json +0 -0
  229. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/c.json +0 -0
  230. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/d1/3.json +0 -0
  231. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/d1/d2/2.json +0 -0
  232. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/invalid_ref.json +0 -0
  233. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/target-templates/atacseq_analysis_template.json +0 -0
  234. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/target-templates/rna_level1_analysis_template.json +0 -0
  235. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/target-templates/wes_analysis_template.json +0 -0
  236. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/target-templates/wes_tumor_only_analysis_template.json +0 -0
  237. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/tiny_invalid_manifest.xlsx +0 -0
  238. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/tiny_valid_manifest.xlsx +0 -0
  239. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/__init__.py +0 -0
  240. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/__init__.py +0 -0
  241. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/analysis_data.py +0 -0
  242. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/assay_data.py +0 -0
  243. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/manifest_data.py +0 -0
  244. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/utils.py +0 -0
  245. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/schema/test_schema.json +0 -0
  246. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_cidc_data_model.py +0 -0
  247. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_constants.py +0 -0
  248. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_pipelines.py +0 -0
  249. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_artifacts.py +0 -0
  250. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_assays.py +0 -0
  251. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_clinicaltrial_examples.py +0 -0
  252. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_json_validation.py +0 -0
  253. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_migrations.py +0 -0
  254. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_schemas.py +0 -0
  255. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_strict_meta_schema.py +0 -0
  256. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_template.py +0 -0
  257. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_template_reader.py +0 -0
  258. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_template_writer.py +0 -0
  259. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_templates.py +0 -0
  260. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_trial_core.py +0 -0
  261. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_unprism.py +0 -0
  262. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_util.py +0 -0
  263. {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/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.27
3
+ Version: 0.28.0
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
@@ -12,23 +12,20 @@ Classifier: Intended Audience :: Developers
12
12
  Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Natural Language :: English
14
14
  Classifier: Programming Language :: Python :: 3.9
15
- Requires-Python: >=3.9,<3.11
15
+ Requires-Python: >=3.13,<3.14
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: dateparser==1.1.4
19
- Requires-Dist: xlsxwriter==1.1.6
20
- Requires-Dist: argparse==1.1
21
- Requires-Dist: pyyaml==6.0.1
22
- Requires-Dist: jsonschema==3.0.1
23
- Requires-Dist: openpyxl==3.0.7
18
+ Requires-Dist: argparse==1.4.0
19
+ Requires-Dist: dateparser==1.2.2
20
+ Requires-Dist: deepdiff==4.3.0
21
+ Requires-Dist: jinja2==3.1.6
24
22
  Requires-Dist: jsonmerge==1.6.1
25
- Requires-Dist: deepdiff~=4.3.0
26
- Requires-Dist: jsonpointer==2.0
27
- Requires-Dist: pandas==1.5.3
28
- Requires-Dist: jinja2~=3.1.3
29
- Requires-Dist: nci-cidc-ngs-pipeline-api==0.1.25
30
- Requires-Dist: markupsafe==2.1.5
31
- Requires-Dist: regex==2022.3.2
23
+ Requires-Dist: jsonpointer==3.0.0
24
+ Requires-Dist: jsonschema==3.2.0
25
+ Requires-Dist: openpyxl==3.1.5
26
+ Requires-Dist: pandas==2.3.1
27
+ Requires-Dist: pyyaml==6.0.2
28
+ Requires-Dist: xlsxwriter==3.2.5
32
29
  Dynamic: author
33
30
  Dynamic: author-email
34
31
  Dynamic: classifier
@@ -130,6 +127,18 @@ If you're making changes to the module and want those changes to be reflected in
130
127
  python3 -m cidc_schemas.cli [args]
131
128
  ```
132
129
 
130
+ ### Creating a new assay or analysis type ###
131
+
132
+ In order to create a new assay type, your best bet is to just search for an existing assay and copy it.
133
+
134
+ Preferably, look at visium and copy exactly what it does. Make changes in the assay schema and template for your
135
+ particular assay and/or analysis schema.
136
+
137
+ There are a lot of gotchas and hidden parsing going on behind the scenes. Listing them all would be hard, so this is the best
138
+ practical advice.
139
+
140
+ Be sure to regenerate the docs after creating your schema, so the new schema is added to the reference docs.
141
+
133
142
  ### Generate templates
134
143
 
135
144
  Create a template for a given template configuration.
@@ -86,6 +86,18 @@ If you're making changes to the module and want those changes to be reflected in
86
86
  python3 -m cidc_schemas.cli [args]
87
87
  ```
88
88
 
89
+ ### Creating a new assay or analysis type ###
90
+
91
+ In order to create a new assay type, your best bet is to just search for an existing assay and copy it.
92
+
93
+ Preferably, look at visium and copy exactly what it does. Make changes in the assay schema and template for your
94
+ particular assay and/or analysis schema.
95
+
96
+ There are a lot of gotchas and hidden parsing going on behind the scenes. Listing them all would be hard, so this is the best
97
+ practical advice.
98
+
99
+ Be sure to regenerate the docs after creating your schema, so the new schema is added to the reference docs.
100
+
89
101
  ### Generate templates
90
102
 
91
103
  Create a template for a given template configuration.
@@ -2,4 +2,4 @@
2
2
 
3
3
  __author__ = """NCI"""
4
4
  __email__ = "nci-cidc-tools-admin@mail.nih.gov"
5
- __version__ = "0.27.27"
5
+ __version__ = "0.28.0"
@@ -273,8 +273,7 @@ def _map_refs(node: dict, on_refs: Callable[[str], dict]) -> dict:
273
273
  # So we raise on that, to notify schema creator that s/he should not
274
274
  # expect those additional keys to be verified by schema validator.
275
275
  raise Exception(
276
- f"Schema node with '$ref' should not contain anything else besides 'description' for public docs (or '$comment' for dev docs). \
277
- \nOn: {node} \nOffending keys {extra_keys}"
276
+ f"Schema node with '$ref' should not contain anything else besides 'description' for public docs (or '$comment' for dev docs). \nOn: {node} \nOffending keys {extra_keys}"
278
277
  )
279
278
 
280
279
  # We found a ref, so return it mapped through `on_refs`
@@ -98,7 +98,7 @@ def parse_npx(xlsx: BinaryIO) -> dict:
98
98
 
99
99
  # simplify.
100
100
  worksheet = workbook[worksheet_name]
101
- seen_onlinkid = False
101
+ seen_id_column = False
102
102
  for i, row in enumerate(worksheet.iter_rows()):
103
103
 
104
104
  # extract values from row
@@ -110,8 +110,8 @@ def parse_npx(xlsx: BinaryIO) -> dict:
110
110
  if len(vals) == 0 or first_cell is None:
111
111
  continue
112
112
 
113
- # find OlinkID to locate the first data row
114
- if not seen_onlinkid:
113
+ # find Cimac ID column to locate the first data row
114
+ if not seen_id_column:
115
115
  # check that this is actually an NPX file
116
116
  if i == 1 and first_cell != "NPX data":
117
117
  raise ValueError("parse_npx got a file that is not in NPX format")
@@ -119,8 +119,10 @@ def parse_npx(xlsx: BinaryIO) -> dict:
119
119
  # check if we are starting ids
120
120
  # use this to capture cases where the column name changes in spacing / capitalization
121
121
  ## needed because some data has 'OlinkID' while the standard seems to call for 'Olink ID'
122
- if str(first_cell).lower().replace(" ", "") == "olinkid":
123
- seen_onlinkid = True
122
+ # Data is starting to come in with 'Sample ID' column instead - accepting that too
123
+ lower_first_cell = str(first_cell).lower().replace(" ", "")
124
+ if lower_first_cell in ["olinkid", "sampleid"]:
125
+ seen_id_column = True
124
126
  continue
125
127
 
126
128
  # once it's found keep getting ids until we're done
@@ -25,7 +25,7 @@ from .constants import ANALYSIS_TEMPLATE_DIR, SCHEMA_DIR, TEMPLATE_DIR
25
25
  from .json_validation import _load_dont_validate_schema
26
26
  from .util import get_file_ext, get_logger
27
27
 
28
- from cidc_ngs_pipeline_api import OUTPUT_APIS
28
+ from .ngs_pipeline_api import OUTPUT_APIS
29
29
 
30
30
  logger = get_logger("cidc_schemas.template")
31
31
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nci_cidc_schemas
3
- Version: 0.27.27
3
+ Version: 0.28.0
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
@@ -12,23 +12,20 @@ Classifier: Intended Audience :: Developers
12
12
  Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Natural Language :: English
14
14
  Classifier: Programming Language :: Python :: 3.9
15
- Requires-Python: >=3.9,<3.11
15
+ Requires-Python: >=3.13,<3.14
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: dateparser==1.1.4
19
- Requires-Dist: xlsxwriter==1.1.6
20
- Requires-Dist: argparse==1.1
21
- Requires-Dist: pyyaml==6.0.1
22
- Requires-Dist: jsonschema==3.0.1
23
- Requires-Dist: openpyxl==3.0.7
18
+ Requires-Dist: argparse==1.4.0
19
+ Requires-Dist: dateparser==1.2.2
20
+ Requires-Dist: deepdiff==4.3.0
21
+ Requires-Dist: jinja2==3.1.6
24
22
  Requires-Dist: jsonmerge==1.6.1
25
- Requires-Dist: deepdiff~=4.3.0
26
- Requires-Dist: jsonpointer==2.0
27
- Requires-Dist: pandas==1.5.3
28
- Requires-Dist: jinja2~=3.1.3
29
- Requires-Dist: nci-cidc-ngs-pipeline-api==0.1.25
30
- Requires-Dist: markupsafe==2.1.5
31
- Requires-Dist: regex==2022.3.2
23
+ Requires-Dist: jsonpointer==3.0.0
24
+ Requires-Dist: jsonschema==3.2.0
25
+ Requires-Dist: openpyxl==3.1.5
26
+ Requires-Dist: pandas==2.3.1
27
+ Requires-Dist: pyyaml==6.0.2
28
+ Requires-Dist: xlsxwriter==3.2.5
32
29
  Dynamic: author
33
30
  Dynamic: author-email
34
31
  Dynamic: classifier
@@ -130,6 +127,18 @@ If you're making changes to the module and want those changes to be reflected in
130
127
  python3 -m cidc_schemas.cli [args]
131
128
  ```
132
129
 
130
+ ### Creating a new assay or analysis type ###
131
+
132
+ In order to create a new assay type, your best bet is to just search for an existing assay and copy it.
133
+
134
+ Preferably, look at visium and copy exactly what it does. Make changes in the assay schema and template for your
135
+ particular assay and/or analysis schema.
136
+
137
+ There are a lot of gotchas and hidden parsing going on behind the scenes. Listing them all would be hard, so this is the best
138
+ practical advice.
139
+
140
+ Be sure to regenerate the docs after creating your schema, so the new schema is added to the reference docs.
141
+
133
142
  ### Generate templates
134
143
 
135
144
  Create a template for a given template configuration.
@@ -0,0 +1,11 @@
1
+ argparse==1.4.0
2
+ dateparser==1.2.2
3
+ deepdiff==4.3.0
4
+ jinja2==3.1.6
5
+ jsonmerge==1.6.1
6
+ jsonpointer==3.0.0
7
+ jsonschema==3.2.0
8
+ openpyxl==3.1.5
9
+ pandas==2.3.1
10
+ pyyaml==6.0.2
11
+ xlsxwriter==3.2.5
@@ -0,0 +1,11 @@
1
+ argparse==1.4.0
2
+ dateparser==1.2.2
3
+ deepdiff==4.3.0
4
+ jinja2==3.1.6
5
+ jsonmerge==1.6.1 # TODO: 1.9.2
6
+ jsonpointer==3.0.0
7
+ jsonschema==3.2.0 # TODO: 4.25.0
8
+ openpyxl==3.1.5
9
+ pandas==2.3.1
10
+ pyyaml==6.0.2
11
+ xlsxwriter==3.2.5
@@ -24,7 +24,7 @@ setup(
24
24
  "Programming Language :: Python :: 3.9",
25
25
  ],
26
26
  description="The CIDC data model and tools for working with it.",
27
- python_requires=">=3.9,<3.11",
27
+ python_requires=">=3.13,<3.14",
28
28
  install_requires=requirements,
29
29
  license="MIT license",
30
30
  long_description=readme,
@@ -1,6 +1,6 @@
1
1
  """Tests for generic prismification functionality.
2
2
 
3
- TODO: some of these tests currently use the CIDC data model, but they
3
+ TODO: some of these tests currently use the CIDC data model, but they
4
4
  should probably use an unrelated test data model instead.
5
5
  """
6
6
 
@@ -6,8 +6,9 @@ from cidc_schemas.prism.extra_metadata import parse_elisa, parse_npx, parse_clin
6
6
 
7
7
  from ..constants import TEST_DATA_DIR
8
8
 
9
- # Single NPX file and metadata
10
- npx_file_path = os.path.join(TEST_DATA_DIR, "olink", "olink_assay_1_NPX.xlsx")
9
+ # NPX files in differing acceptable formats and metadata
10
+ npx_file_path_olink = os.path.join(TEST_DATA_DIR, "olink", "olink_assay_1_NPX.xlsx")
11
+ npx_file_path_sample = os.path.join(TEST_DATA_DIR, "olink", "olink_assay_2_NPX.xlsx")
11
12
  single_npx_metadata = {
12
13
  "number_of_samples": 4,
13
14
  "samples": ["CTTTP01A1.00", "CTTTP02A1.00", "CTTTP03A1.00", "CTTTP04A1.00"],
@@ -88,7 +89,8 @@ def test_parse_binaryio_only(parser):
88
89
  @pytest.mark.parametrize(
89
90
  "parser,file_path,target",
90
91
  [
91
- (parse_npx, npx_file_path, single_npx_metadata),
92
+ (parse_npx, npx_file_path_olink, single_npx_metadata),
93
+ (parse_npx, npx_file_path_sample, single_npx_metadata),
92
94
  (parse_npx, npx_combined_file_path, combined_npx_metadata),
93
95
  # differ in column order and capitalization/spacing of cimac_id column
94
96
  # testing both to prevent unnecessary assumptions in formatting as this is hand generated
@@ -12,7 +12,8 @@ from cidc_schemas.prism.core import LocalFileUploadEntry
12
12
  from cidc_schemas.prism.constants import PROTOCOL_ID_FIELD_NAME
13
13
 
14
14
  from .test_extra_metadata import (
15
- npx_file_path,
15
+ npx_file_path_olink,
16
+ npx_file_path_sample,
16
17
  npx_combined_file_path,
17
18
  invalid_npx_file_path,
18
19
  elisa_file_path_1,
@@ -381,7 +382,14 @@ def olink_ct_metadata():
381
382
  def olink_file_infos():
382
383
  return [
383
384
  LocalFileUploadEntry(
384
- local_path=npx_file_path,
385
+ local_path=npx_file_path_olink,
386
+ gs_key="",
387
+ upload_placeholder="npx_1",
388
+ metadata_availability=True,
389
+ allow_empty=False,
390
+ ),
391
+ LocalFileUploadEntry(
392
+ local_path=npx_file_path_sample,
385
393
  gs_key="",
386
394
  upload_placeholder="npx_1",
387
395
  metadata_availability=True,
@@ -1,14 +0,0 @@
1
- dateparser==1.1.4
2
- xlsxwriter==1.1.6
3
- argparse==1.1
4
- pyyaml==6.0.1
5
- jsonschema==3.0.1
6
- openpyxl==3.0.7
7
- jsonmerge==1.6.1
8
- deepdiff~=4.3.0
9
- jsonpointer==2.0
10
- pandas==1.5.3
11
- jinja2~=3.1.3
12
- nci-cidc-ngs-pipeline-api==0.1.25
13
- markupsafe==2.1.5
14
- regex==2022.3.2
@@ -1,14 +0,0 @@
1
- dateparser==1.1.4
2
- xlsxwriter==1.1.6
3
- argparse==1.1
4
- pyyaml==6.0.1
5
- jsonschema==3.0.1
6
- openpyxl==3.0.7
7
- jsonmerge==1.6.1
8
- deepdiff~=4.3.0
9
- jsonpointer==2.0
10
- pandas==1.5.3
11
- jinja2~=3.1.3
12
- nci-cidc-ngs-pipeline-api==0.1.25
13
- markupsafe==2.1.5
14
- regex==2022.3.2