Skip to content

Commit 56f75a1

Browse files
committed
manual merge
2 parents 8893c78 + 37d16bd commit 56f75a1

File tree

96 files changed

+332009
-386922
lines changed

Some content is hidden

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

96 files changed

+332009
-386922
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: 16 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 clean_diff_stuff alldiffs 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 $<
@@ -129,3 +130,7 @@ gsc_vs_nmdc_core: downloads/gsc_mixs6_core.csv downloads/nmdc_mixs6_core.csv
129130
--primary-key 1 \
130131
--format word-diff $^ > generated/gsc_vs_nmdc_core.txt
131132
# --format string Available (rowmark|json|legacy-json|diff|word-diff|color-words) (default "diff")
133+
134+
value_syntax_research: downloads/mixs6.tsv downloads/mixs6_core.tsv
135+
poetry run python gsctools/value_syntaxes.py
136+

0 commit comments

Comments
 (0)