Skip to content

Commit 36cd42b

Browse files
authored
Added frictionless importer (#79)
* Added frictionless importer. Fixes #861 * Fixing descriptions * Adding FKs * prefixes
1 parent 8e2fc76 commit 36cd42b

File tree

11 files changed

+4477
-945
lines changed

11 files changed

+4477
-945
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
RUN = poetry run
12
VERSION = $(shell git tag | tail -1)
23

34
.PHONY: all clean test
@@ -12,7 +13,10 @@ clean:
1213
rm -rf target/availabilities_g_s_strain_202112151116_org_meanings.yaml
1314

1415
test:
15-
poetry run pytest tests/
16+
$(RUN) pytest tests/
17+
18+
schema_automator/metamodels/%.py: schema_automator/metamodels/%.yaml
19+
$(RUN) gen-python $< > $@.tmp && mv $@.tmp $@
1620

1721
# tried to find a single meaning for each permissible value
1822
# unlike term mapping, which can tolerate multiple mapped terms

0 commit comments

Comments
 (0)