Skip to content

Commit

Permalink
add funding data
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonerf committed May 22, 2024
1 parent 8ddd7f5 commit 8a2e774
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def run(dest_dir: str) -> None:
# Create a new garden dataset with the same metadata as the meadow dataset.
ds_garden = create_dataset(
dest_dir,
tables=[tb_disease, tb_product, tb_disease_product],
tables=[tb_disease, tb_product, tb_disease_product, tb_product_ntd],
check_variables_metadata=True,
default_metadata=ds_meadow.metadata,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ def run(dest_dir: str) -> None:
# Read table from garden dataset.
tb_disease = ds_garden["funding_disease"]
tb_product = ds_garden["funding_product"]
tb_product_ntd = ds_garden["funding_product_ntd"]
tb_disease_product = ds_garden["funding_disease_product"]

# Save outputs.
#
# Create a new grapher dataset with the same metadata as the garden dataset.
ds_grapher = create_dataset(
dest_dir,
tables=[tb_disease, tb_product, tb_disease_product],
tables=[tb_disease, tb_product, tb_disease_product, tb_product_ntd],
check_variables_metadata=True,
default_metadata=ds_garden.metadata,
)
Expand Down

0 comments on commit 8a2e774

Please sign in to comment.