Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically generate text definitions from logical definitions #2349

Merged
merged 8 commits into from
May 1, 2024
Merged
7 changes: 5 additions & 2 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# More information: https://github.com/INCATools/ontology-development-kit/

# Fingerprint of the configuration file when this Makefile was last generated
CONFIG_HASH= c05ee03cdbebf8765f9f8f3ed1deb9ecde656b5e92390f6f64bfce43560a3c56
CONFIG_HASH= 3ef44073feb4dd21f093356b564a51bd94638e4a757ed43c0c9ff69e9599cac2


# ----------------------------------------
Expand Down Expand Up @@ -132,7 +132,7 @@ custom_robot_plugins:


.PHONY: extra_robot_plugins
extra_robot_plugins:
extra_robot_plugins: $(ROBOT_PLUGINS_DIRECTORY)/flybase.jar


# Install all ROBOT plugins to the runtime plugins directory
Expand All @@ -152,6 +152,9 @@ $(ROBOT_PLUGINS_DIRECTORY)/%.jar:

# Specific rules for supplementary plugins defined in configuration

$(ROBOT_PLUGINS_DIRECTORY)/flybase.jar:
curl -L -o $@ https://github.com/FlyBase/flybase-robot-plugin/releases/download/flybase-robot-plugin-0.2.2/flybase.jar


# ----------------------------------------
# Release assets
Expand Down
4 changes: 4 additions & 0 deletions src/ontology/cl-odk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ release_artefacts:
- custom-cl-plus
documentation:
documentation_system: mkdocs
robot_plugins:
plugins:
- name: flybase
mirror_from: https://github.com/FlyBase/flybase-robot-plugin/releases/download/flybase-robot-plugin-0.2.2/flybase.jar
subset_group:
products:
- id: BDS_subset
Expand Down
8 changes: 8 additions & 0 deletions src/ontology/cl.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ tmp/cl_signature.txt: tmp/$(ONT)-stripped.owl tmp/cl_terms.txt
# Note that right now, TypeDefs that are CL native (like has_age) are included in the release!


# Preprocessing: automatically generate text definitions from logical definitions
$(EDIT_PREPROCESSED): $(SRC) all_robot_plugins
$(ROBOT) flybase:rewrite-def -i $< --dot-definitions --null-definitions \
--no-ids --filter-prefix CL_ \
--add-annotation "oboInOwl:hasDbXref FBC:Autogenerated" \
-o $@


# ----------------------------------------
# SSSOM MAPPINGS
# ----------------------------------------
Expand Down
Loading