Skip to content

Commit 37d16bd

Browse files
authored
Merge pull request #412 from GenomicsStandardsConsortium/issue-388-string-ser
represent value syntaxes as structured patterns not string sterilizations AND report their raw and tokenized frequencies
2 parents 4fef5a3 + f28665f commit 37d16bd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+332492
-387351
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ generated/docs
55
mkdocs_html
66
node_modules
77

8+
.idea
9+
810

911
# Byte-compiled / optimized / DLL files
1012
__pycache__/

Makefile

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
RUN=poetry run
44

5-
.PHONY: all clean gh_docs docserve
5+
.PHONY: all clean gh_docs docserve value_syntax_research
66

77
# html_docs
8-
all: clean generated/mixs.py mkdocs_html/index.html
8+
all: clean value_syntax_research model/schema/mixs.yaml generated/mixs.py mkdocs_html/index.html
99

1010
# ---------------------------------------
1111
# TSVs from google drive
@@ -17,25 +17,26 @@ clean:
1717
rm -rf generated/*
1818
rm -rf logs/*
1919
rm -rf mkdocs_html/
20-
#rm -rf model/schema/*yaml
20+
rm -rf model/schema/*.yaml
21+
rm -rf downloads/*.*sv
2122

22-
#model/schema/mixs.yaml: downloads/mixs6.tsv downloads/mixs6_core.tsv
23-
# $(RUN) python -m gsctools.mixs_converter 2>&1 | tee -a logs/sheet2linkml.log
24-
#
25-
#downloads/mixs6.tsv:
26-
# curl -L -s 'https://docs.google.com/spreadsheets/d/1QDeeUcDqXes69Y2RjU2aWgOpCVWo5OVsBX9MKmMqi_o/export?format=tsv&gid=750683809' > $@
27-
#downloads/mixs6_core.tsv:
28-
# curl -L -s 'https://docs.google.com/spreadsheets/d/1QDeeUcDqXes69Y2RjU2aWgOpCVWo5OVsBX9MKmMqi_o/export?format=tsv&gid=178015749' > $@
23+
model/schema/mixs.yaml: downloads/mixs6.tsv downloads/mixs6_core.tsv
24+
$(RUN) python -m gsctools.mixs_converter 2>&1 | tee -a logs/sheet2linkml.log
25+
26+
downloads/mixs6.tsv:
27+
curl -L -s 'https://docs.google.com/spreadsheets/d/1QDeeUcDqXes69Y2RjU2aWgOpCVWo5OVsBX9MKmMqi_o/export?format=tsv&gid=750683809' > $@
28+
downloads/mixs6_core.tsv:
29+
curl -L -s 'https://docs.google.com/spreadsheets/d/1QDeeUcDqXes69Y2RjU2aWgOpCVWo5OVsBX9MKmMqi_o/export?format=tsv&gid=178015749' > $@
2930

3031
# todo add owl back in and make it awesome
31-
# todo derive output path from target file name
3232
# --exclude owl \
3333
3434
generated/mixs.py: model/schema/mixs.yaml
3535
$(RUN) gen-project \
3636
--exclude excel \
3737
--exclude java \
3838
--exclude markdown \
39+
--exclude owl \
3940
--dir $(dir $@) $< 2>&1 | tee -a logs/linkml_artifact_generation.log
4041
# mkdir generated/excel
4142
# $(RUN) gen-excel --output generated/excel/mixs.xlsx $<
@@ -72,3 +73,6 @@ docserve:
7273
# exposes at https://GenomicsStandardsConsortium.github.io/mixs/
7374
gh_docs:
7475
poetry run mkdocs gh-deploy
76+
77+
value_syntax_research: downloads/mixs6.tsv downloads/mixs6_core.tsv
78+
poetry run python gsctools/value_syntaxes.py

0 commit comments

Comments
 (0)