-
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: upload assets on release (#56)
## Reason for Change - #4 - #7 - create a first release of the asset data ## Changes - add GHA to upload release assets when ontology assets are updated - updated ontology builder to get ontology_info.yml from the ./ontology-assets directory. - update ontology buidl to save all_ontology.json.gz to ./ontology-assets directory ## Testing steps - generated releases using a test branch a verified the assets were uploaded.
- Loading branch information
Showing
4 changed files
with
80 additions
and
6 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
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
CL: | ||
version: v2024-01-04 | ||
source: https://github.com/obophenotype/cell-ontology/releases/download | ||
filetype: owl | ||
EFO: | ||
version: v3.62.0 | ||
source: https://github.com/EBISPOT/efo/releases/download | ||
filetype: owl | ||
HANCESTRO: | ||
version: 3.0 | ||
source: https://github.com/EBISPOT/hancestro/raw/ | ||
filetype: owl | ||
HsapDv: | ||
version: 11 | ||
source: http://aber-owl.net/media/ontologies/HSAPDV/ | ||
filetype: owl | ||
MONDO: | ||
version: v2024-01-03 | ||
source: https://github.com/monarch-initiative/mondo/releases/download/ | ||
filetype: owl | ||
MmusDv: | ||
version: 9 | ||
source: http://aber-owl.net/media/ontologies/MMUSDV/ | ||
filetype: owl | ||
NCBITaxon: | ||
version: v2023-06-20 | ||
source: https://github.com/obophenotype/ncbitaxon/releases/download/ | ||
filetype: owl.gz | ||
UBERON: | ||
version: v2024-01-18 | ||
source: https://github.com/obophenotype/uberon/releases/download/ | ||
filetype: owl | ||
PATO: | ||
version: v2023-05-18 | ||
source: https://github.com/pato-ontology/pato/raw/ | ||
filetype: owl |
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,12 +1,9 @@ | ||
import os | ||
|
||
PACKAGE_ROOT = os.path.dirname(os.path.realpath(__file__)) | ||
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(PACKAGE_ROOT))) | ||
FIXTURES_ROOT = os.path.join(ROOT_DIR, "api/python/src/cellxgene_ontology_guide/artifacts") | ||
ONTOLOGY_REF_DIR = os.path.join(PACKAGE_ROOT, "ontology-references") | ||
RAW_ONTOLOGY_DIR = os.path.join(ONTOLOGY_REF_DIR, "raw-files") | ||
ONTO_INFO_YAML = os.path.join(FIXTURES_ROOT, "ontology_info.yml") | ||
PARSED_ONTOLOGIES_FILE = os.path.join(FIXTURES_ROOT, "all_ontology.json.gz") | ||
RAW_ONTOLOGY_DIR = os.path.join(PACKAGE_ROOT, "raw-files") | ||
PROJECT_ROOT_DIR = os.path.realpath(__file__).rsplit("/", maxsplit=4)[0] | ||
ONTO_INFO_YAML = os.path.join(PROJECT_ROOT_DIR, "ontology_info.yml") | ||
PARSED_ONTOLOGIES_FILE = os.path.join(PROJECT_ROOT_DIR, "all_ontology.json.gz") | ||
SCHEMA_DIR = os.path.join(PROJECT_ROOT_DIR, "artifact-schemas") | ||
ONTOLOGY_ASSETS_DIR = os.path.join(PROJECT_ROOT_DIR, "ontology-assets") |