-
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.
chore: deprecate older version of cellxgene schema (#172)
## Reason for Change - automate the cellxgene schema versions deprecation process. - #170 ## Changes - add deprecation warning to API when older version of the cellxgene schema are used. - add logic to all_ontology_generator.py to remove expired ontology files from repo, expired cellxgene schema versions from ontology_info.json, and deprecate the previous cellxgene schema version if a new version exists. ## Testing steps - updated unit tests - Need to verify that files will be removed by the GHA. ## Notes for Reviewer
- Loading branch information
Showing
9 changed files
with
340 additions
and
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,8 @@ This project adheres to the Contributor Covenant [code of conduct](https://githu | |
## Reporting Security Issues | ||
|
||
If you believe you have found a security issue, please responsibly disclose by contacting us at [[email protected]](mailto:[email protected]). | ||
|
||
## Updating to a new Cellxgene Schema Version | ||
|
||
1. Update the [ontology_info.json](./ontology-assets/ontology_info.json) file with the new schema version | ||
2. Leave the older versions in the file for backward compatibility. They will be deprecated and removed automatically after 6 months. That process is handled in [deprecate_previous_cellxgene_schema_versions](https://github.com/chanzuckerberg/cellxgene-ontology/blob/main/tools/ontology-builder/src/all_ontology_generator.py#L311-L311). |
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,49 +1,51 @@ | ||
{ | ||
"v5.0.0": { | ||
"CL": { | ||
"version": "v2024-01-04", | ||
"source": "https://github.com/obophenotype/cell-ontology/releases/download", | ||
"filename": "cl.owl" | ||
}, | ||
"EFO": { | ||
"version": "v3.62.0", | ||
"source": "https://github.com/EBISPOT/efo/releases/download", | ||
"filename": "efo.owl" | ||
}, | ||
"HANCESTRO": { | ||
"version": "3.0", | ||
"source": "https://github.com/EBISPOT/hancestro/raw", | ||
"filename": "hancestro.owl" | ||
}, | ||
"HsapDv": { | ||
"version": "11", | ||
"source": "http://aber-owl.net/media/ontologies/HSAPDV", | ||
"filename": "hsapdv.owl" | ||
}, | ||
"MONDO": { | ||
"version": "v2024-01-03", | ||
"source": "https://github.com/monarch-initiative/mondo/releases/download", | ||
"filename": "mondo.owl" | ||
}, | ||
"MmusDv": { | ||
"version": "9", | ||
"source": "http://aber-owl.net/media/ontologies/MMUSDV", | ||
"filename": "mmusdv.owl" | ||
}, | ||
"NCBITaxon": { | ||
"version": "v2023-06-20", | ||
"source": "https://github.com/obophenotype/ncbitaxon/releases/download", | ||
"filename": "ncbitaxon.owl.gz" | ||
}, | ||
"UBERON": { | ||
"version": "v2024-01-18", | ||
"source": "https://github.com/obophenotype/uberon/releases/download", | ||
"filename": "uberon.owl" | ||
}, | ||
"PATO": { | ||
"version": "v2023-05-18", | ||
"source": "https://github.com/pato-ontology/pato/raw", | ||
"filename": "pato.owl" | ||
"ontologies": { | ||
"CL": { | ||
"version": "v2024-01-04", | ||
"source": "https://github.com/obophenotype/cell-ontology/releases/download", | ||
"filename": "cl.owl" | ||
}, | ||
"EFO": { | ||
"version": "v3.62.0", | ||
"source": "https://github.com/EBISPOT/efo/releases/download", | ||
"filename": "efo.owl" | ||
}, | ||
"HANCESTRO": { | ||
"version": "3.0", | ||
"source": "https://github.com/EBISPOT/hancestro/raw", | ||
"filename": "hancestro.owl" | ||
}, | ||
"HsapDv": { | ||
"version": "11", | ||
"source": "http://aber-owl.net/media/ontologies/HSAPDV", | ||
"filename": "hsapdv.owl" | ||
}, | ||
"MONDO": { | ||
"version": "v2024-01-03", | ||
"source": "https://github.com/monarch-initiative/mondo/releases/download", | ||
"filename": "mondo.owl" | ||
}, | ||
"MmusDv": { | ||
"version": "9", | ||
"source": "http://aber-owl.net/media/ontologies/MMUSDV", | ||
"filename": "mmusdv.owl" | ||
}, | ||
"NCBITaxon": { | ||
"version": "v2023-06-20", | ||
"source": "https://github.com/obophenotype/ncbitaxon/releases/download", | ||
"filename": "ncbitaxon.owl.gz" | ||
}, | ||
"UBERON": { | ||
"version": "v2024-01-18", | ||
"source": "https://github.com/obophenotype/uberon/releases/download", | ||
"filename": "uberon.owl" | ||
}, | ||
"PATO": { | ||
"version": "v2023-05-18", | ||
"source": "https://github.com/pato-ontology/pato/raw", | ||
"filename": "pato.owl" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.