-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove v from ontology_info.json (#196)
## Reason for Change Census currently uses x.x.x for [encoding the CxG dataset schema version](https://github.com/chanzuckerberg/cellxgene-census/blob/main/docs/cellxgene_census_schema.md#census-metadata--census_objcensus_infosummary--somadataframe), e.g. 5.0.0 whereas the service uses vx.x.x e.g. v5.0.0 I think we should probably update the ontology service to adopt the Census semantics since there are plenty of Census data releases out there (which are immutable). ## Changes - update the ontology_info.json to not require the leading V in the cxg_schema version. - Use get_latest_schema_version from the API in all_ontology_generator.py. - updated tests and notebooks. ## Testing steps - All unit tests pass - run all_ontology_generate.py locally using the update API and it works. ## Notes for Reviewer *Updates to Ontology Files / ontology-processing (push) * will fail until we release the API. It also doesn't need to run for this PR.
- Loading branch information
Showing
8 changed files
with
54 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"v5.0.0": { | ||
"5.0.0": { | ||
"ontologies": { | ||
"CL": { | ||
"version": "v2024-01-04", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters