diff --git a/Makefile b/Makefile index 275a7683..c5bc178d 100644 --- a/Makefile +++ b/Makefile @@ -144,26 +144,6 @@ safe-update: tools/safe-update.py -### Migrate Configuration from PURL.org -# -# Given an ontology ID (usually lower-case), -# fetch and translate a PURL.org XML file -# into a YAML configuration file. -# This should be a one-time migration. -# Do not overwrite existing config file. -PURL_XML = https://purl.org/admin/purl/?target=&seealso=&maintainers=&explicitmaintainers=&tombstone=false&p_id= - -.PHONY: migrate-% -migrate-%: - @test ! -s config/$*.yml \ - || (echo 'Refusing to overwrite config/$*.yml'; exit 1) - mkdir -p migrations - test -s migrations/$*.xml \ - || curl --fail -o migrations/$*.xml "$(PURL_XML)/obo/$**" - mkdir -p config - tools/migrate.py $* migrations/$*.xml config/$*.yml - - ### Code style and lint checks for python source files. # # Note that `|| true` is appended to force make to ignore the exit code in both cases diff --git a/config/dpo.yml b/config/dpo.yml index bd251a45..420ea64e 100644 --- a/config/dpo.yml +++ b/config/dpo.yml @@ -10,6 +10,3 @@ products: - dpo.owl: https://raw.githubusercontent.com/FlyBase/flybase-controlled-vocabulary/master/releases/dpo.owl term_browser: ontobee -example_terms: - -entries: diff --git a/config/xao.yml b/config/xao.yml index 4698ef4f..a50314bb 100644 --- a/config/xao.yml +++ b/config/xao.yml @@ -8,7 +8,6 @@ products: - xao.obo: http://ontologies.berkeleybop.org/xao.obo term_browser: ontobee -example_terms: entries: - prefix: /tracker/