Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
owidbot committed Dec 10, 2024
1 parent 40cd2a7 commit 1fcfb5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def run(dest_dir: str) -> None:
#
# Create a new grapher dataset with the same metadata as the garden dataset.
ds_grapher = create_dataset(
dest_dir, tables=[tb], check_variables_metadata=True, default_metadata=ds_garden.metadata
dest_dir, tables=[tb], check_variables_metadata=True, default_metadata=ds_garden.metadata, long_to_wide=False
)

# Save changes in the new grapher dataset.
Expand Down
2 changes: 1 addition & 1 deletion lib/catalog/owid/catalog/yaml_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def update_metadata_from_yaml(

tb.metadata.short_name = table_name

t_annot = annot["tables"][table_name]
t_annot = annot.get("tables", {}).get(table_name, {})

# validation
if extra_variables == "raise":
Expand Down

0 comments on commit 1fcfb5f

Please sign in to comment.