Skip to content

Commit

Permalink
Update hp.Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Nov 12, 2023
1 parent d4dafe8 commit 89a5894
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/ontology/hp.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,16 @@ qc: test hp.owl hp.obo
iconv:
iconv -f UTF-8 -t ISO-8859-15 $(SRC) > $(TMPDIR)/converted.txt || (echo "found special characters in ontology. remove those!"; exit 1)

# Merge template workflow
# The template to be merged is expected to be located at
# the location indicated by the MERGE_TEMPLATE_FILE variable

MERGE_TEMPLATE_FILE=tmp/merge.tsv
MERGE_TEMPLATE_URL="https://docs.google.com/spreadsheets/d/e/2PACX-1vR99Cz13ykiPwq-WdLjAGsPod6n7daSjyhpJa2FJS5bjEDDBlkjJYGrS2hYckvtGAIO2JzpCYMueuUM/pub?gid=1430967911&single=true&output=tsv"
sync_google_template:
wget $(MERGE_TEMPLATE_URL) -O $@
wget $(MERGE_TEMPLATE_URL) -O $(MERGE_TEMPLATE_FILE)

merge_template: tmp/merge.tsv
merge_template: $(MERGE_TEMPLATE_FILE)
$(ROBOT) template --prefix "orcid: https://orcid.org/" --merge-before --input $(SRC) \
--template $< --output $(SRC).ofn && mv $(SRC).ofn $(SRC)

Expand Down

0 comments on commit 89a5894

Please sign in to comment.