Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: exclude specific ontology term id keys #953

Merged
merged 4 commits into from
Jun 7, 2024

Conversation

kaloster
Copy link
Contributor

@kaloster kaloster commented May 28, 2024

#950

added const: ONTOLOGY_TERM_ID_KEYS
removed: ONTOLOGY_KEY
revised: isCategoryNameOntologyKey, buildDatasetMetadataViews

also - moved in_tissue to Standard Categories`

Screenshot 2024-06-06 at 5 39 50 PM

@kaloster kaloster requested review from seve and atarashansky June 6, 2024 21:54
@@ -15,8 +15,17 @@ export const unassignedCategoryLabel = "unassigned";
/** Maximum number of cells a dataset can have in order to be included for display. */
export const DATASET_MAX_CELL_COUNT = 2_000_000;

/* Category name suffix used to determine if category name is ontology term id. */
export const ONTOLOGY_KEY = "ontology_term_id";
/* Explicit ontology term ids. */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we want to make this explicit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes - the feedback from Jason was that the general filter for ontology_term_id was too broad and we should exclude the ones on this list based on the schema definition

@seve seve self-requested a review June 7, 2024 16:56
@kaloster kaloster merged commit 5e9bfec into main Jun 7, 2024
7 of 8 checks passed
@kaloster kaloster deleted the kaloster/block-specific-ontology-term-id-fields branch June 7, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants