Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
many improvements from #24
Browse files Browse the repository at this point in the history
  • Loading branch information
turbomam committed Jan 10, 2022
1 parent cb3b873 commit 9cd6eb1
Show file tree
Hide file tree
Showing 6 changed files with 573 additions and 64 deletions.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
.PHONY: all clean test post_clone_submodule_steps serializastion_vs_pattern negative_case

target/soil_biosample_modular.yaml: clean post_clone_submodule_steps serializastion_vs_pattern
poetry run gen-yaml mixs-source/model/schema/mixs.yaml > target/mixs_generated.yaml
yq eval 'del(.imports)' target/mixs_generated.yaml > target/mixs_generated_no_imports.yaml
poetry run gen-yaml nmdc-schema/src/schema/nmdc.yaml > target/nmdc_generated.yaml
yq eval 'del(.imports)' target/nmdc_generated.yaml > target/nmdc_generated_no_imports.yaml
poetry run python use_modular_gd.py > $@
poetry run linkml_to_dh_light --model_file target/soil_biosample_modular.yaml --selected_class soil_biosample
poetry run enum_annotator \
--modelfile target/soil_biosample_modular.yaml \
--requested_enum_name fao_class_enum \
--ontology_string ENVO \
--max_cosine 0.1 > target/soil_biosample_modular_annotated.yaml
poetry run linkml_to_dh_light --model_file target/soil_biosample_modular_annotated.yaml --selected_class soil_biosample


# test needs work
all: clean post_clone_submodule_steps serializastion_vs_pattern target/data.tsv
Expand Down
Loading

0 comments on commit 9cd6eb1

Please sign in to comment.