diff --git a/config/taxonomy/CCN202210140.yml b/config/taxonomy/CCN202210140.yml index 150b875..c11920b 100644 --- a/config/taxonomy/CCN202210140.yml +++ b/config/taxonomy/CCN202210140.yml @@ -4,14 +4,34 @@ idspace: CCN202210140 base_url: /taxonomy/CCN202210140 products: +- CS202210140.json: https://raw.githubusercontent.com/hkir-dev/human-brain-cell-atlas_v1_non-neuronal/main/CS202210140.json - CCN202210140.csv: https://raw.githubusercontent.com/hkir-dev/whole_human_brain_ontology/main/src/dendrograms/nomenclature_table_CS202210140.csv -base_redirect: https://github.com/hkir-dev/whole_human_brain_ontology +base_redirect: https://github.com/hkir-dev/human-brain-cell-atlas_v1_non-neuronal entries: +# https://purl.brain-bican.org/taxonomy/CCN202210140/CS202210140.json +- exact: /CS202210140.json + replacement: https://raw.githubusercontent.com/hkir-dev/human-brain-cell-atlas_v1_non-neuronal/main/CS202210140.json + + # https://purl.brain-bican.org/taxonomy/CCN202210140/latest/CS202210140.json +- prefix: /latest/ + replacement: https://raw.githubusercontent.com/hkir-dev/human-brain-cell-atlas_v1_non-neuronal/main/ + +# https://purl.brain-bican.org/taxonomy/CCN202210140/releases/2023-12-20/CS202210140.json +- regex: ^/taxonomy/CCN202210140/releases/(.*)/CS202210140\.owl$ + replacement: https://raw.githubusercontent.com/hkir-dev/human-brain-cell-atlas_v1_non-neuronal/$1/CS202210140.json + tests: + - from: /CCN202210140/releases/2023-12-20/CS202210140.json + to: https://raw.githubusercontent.com/hkir-dev/human-brain-cell-atlas_v1_non-neuronal/2023-12-20/CS202210140.json + - exact: /CCN202210140.csv replacement: https://raw.githubusercontent.com/hkir-dev/whole_human_brain_ontology/main/src/dendrograms/nomenclature_table_CS202210140.csv - exact: /cell_to_cell_set_assignments.csv replacement: https://github.com/hkir-dev/whole_human_brain_ontology/raw/main/src/cellxgene/h5ad-downloads/adult-human-brain_v1.zip + +## generic fall-through, serve direct from github by default +- prefix: / + replacement: https://raw.githubusercontent.com/hkir-dev/human-brain-cell-atlas_v1_non-neuronal/main/