-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #260 from microbiomedata/env_triad
add PV terms from env triad to schema
- Loading branch information
Showing
17 changed files
with
14,387 additions
and
11,326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,6 +181,28 @@ local/nmdc.yaml | |
--format yaml [email protected] > $@ | ||
- $(RUN) linkml-lint $@ > local/with_modifications.lint_report.txt | ||
|
||
|
||
########### ENV Triad PV generation ########## | ||
# Specify that 'ingest-triad' is a phony target, meaning it doesn't correspond to an actual file | ||
.PHONY: ingest-triad | ||
WATCHED_DIR := notebooks/environmental_context_value_sets | ||
WATCHED_FILES := $(shell find $(WATCHED_DIR) -type f) | ||
|
||
# Define an intermediate target to prevent re-triggering | ||
.INTERMEDIATE: temp_target | ||
|
||
# Main target to run ingestion commands, depending on the intermediate target | ||
ingest-triad: temp_target | ||
|
||
# Intermediate target that has all dependencies | ||
temp_target: $(WATCHED_FILES) src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml | ||
$(RUN) inject-env-triad-terms -f notebooks/environmental_context_value_sets/soil/env_local_scale/post_google_sheets_soil_env_local_scale.tsv -i src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml -o src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml | ||
$(RUN) inject-env-triad-terms -f notebooks/environmental_context_value_sets/soil/env_medium/post_google_sheets_soil_env_medium_scale.tsv -i src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml -o src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml | ||
$(RUN) inject-env-triad-terms -f notebooks/environmental_context_value_sets/soil/env_broad_scale/post_google_sheets_soil_env_broad_scale.tsv -i src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml -o src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml | ||
touch temp_target | ||
|
||
################################################ | ||
|
||
src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml: local/with_modifications.yaml project/thirdparty/GoldEcosystemTree.json | ||
$(RUN) inject-gold-pathway-terms -g $(word 2,$^) -i $< -o $@ | ||
#cp $< $@ | ||
|
Oops, something went wrong.