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

Update hra_subset component pipeline #2975

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/odk-workflows/RepositoryFileStructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ These are the components in UBERON
| -------- | --- |
| mappings.owl | None |
| in-subset.owl | None |
| hra_subset.owl | None |
| hra_subset.owl | https://raw.githubusercontent.com/hubmapconsortium/ccf-validation-tools/master/owl/UB_ASCTB_subset.owl |
| vasculature_class.owl | None |
10 changes: 10 additions & 0 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,16 @@ $(COMPONENTSDIR)/%: | $(COMPONENTSDIR)



.PHONY: component-download-hra_subset.owl
component-download-hra_subset.owl: | $(TMPDIR)
if [ $(MIR) = true ] && [ $(COMP) = true ]; then $(ROBOT) merge -I https://raw.githubusercontent.com/hubmapconsortium/ccf-validation-tools/master/owl/UB_ASCTB_subset.owl \
annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) -o $(TMPDIR)/[email protected]; fi

$(COMPONENTSDIR)/hra_subset.owl: component-download-hra_subset.owl
if [ $(COMP) = true ] ; then if cmp -s $(TMPDIR)/component-download-hra_subset.owl.owl $@ ; then echo "Component identical."; else echo "Component is different, updating." && cp $(TMPDIR)/component-download-hra_subset.owl.owl $@; fi; fi

.PRECIOUS: $(COMPONENTSDIR)/hra_subset.owl

# ----------------------------------------
# Mirroring upstream ontologies
# ----------------------------------------
Expand Down
Loading