From e73eddc0efbedd5f0757ad8e114a847d2536b7a0 Mon Sep 17 00:00:00 2001 From: nayib-jose-gloria Date: Mon, 22 Aug 2022 17:42:18 -0400 Subject: [PATCH] feat: add cellxgene schema 3.0.0 fields to Standard Categories --- client/src/common/types/entities.ts | 4 ++++ server/tests/fixtures/test_bad_config.yaml | 2 +- server/tests/fixtures/test_config.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/common/types/entities.ts b/client/src/common/types/entities.ts index 014eaaced..effaae0b6 100644 --- a/client/src/common/types/entities.ts +++ b/client/src/common/types/entities.ts @@ -15,6 +15,8 @@ export const STANDARD_CATEGORY_NAMES = [ "disease_ontology_term_id", "ethnicity", "ethnicity_ontology_term_id", + "self_reported_ethnicity", + "self_reported_ethnicity_ontology_term_id", "is_primary_data", "organism", "organism_ontology_term_id", @@ -22,6 +24,8 @@ export const STANDARD_CATEGORY_NAMES = [ "sex", "tissue_ontology_term_id", "tissue", + "suspension_type", + "donor_id", ]; /** diff --git a/server/tests/fixtures/test_bad_config.yaml b/server/tests/fixtures/test_bad_config.yaml index feea9106f..f851b68c8 100644 --- a/server/tests/fixtures/test_bad_config.yaml +++ b/server/tests/fixtures/test_bad_config.yaml @@ -14,7 +14,7 @@ obs: tissue_ontology_term_id: UBERON:12345 assay_ontology_term_id: EFO:12345 disease_ontology_term_id: MONDO:12345 - ethnicity_ontology_term_id: MANCESTRO:12345 + self_reported_ethnicity_ontology_term_id: MANCESTRO:12345 development_stage_ontology_term_id: HsapDv:12345 sex: other uns: diff --git a/server/tests/fixtures/test_config.yaml b/server/tests/fixtures/test_config.yaml index e9f7365fa..5a841ffec 100644 --- a/server/tests/fixtures/test_config.yaml +++ b/server/tests/fixtures/test_config.yaml @@ -14,7 +14,7 @@ obs: tissue_ontology_term_id: UBERON:12345 assay_ontology_term_id: EFO:12345 disease_ontology_term_id: MONDO:12345 - ethnicity_ontology_term_id: HANCESTRO:12345 + self_reported_ethnicity_ontology_term_id: HANCESTRO:12345 development_stage_ontology_term_id: HsapDv:12345 sex: other uns: