From fdab0a31739a4574a42eb912d79bdad7c99f6d10 Mon Sep 17 00:00:00 2001 From: mcarans Date: Tue, 19 Nov 2024 12:05:44 +1300 Subject: [PATCH] Showcase links only needed for country datasets --- src/hdx/scraper/ophi/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hdx/scraper/ophi/__main__.py b/src/hdx/scraper/ophi/__main__.py index ebf2485..4e2d7a2 100755 --- a/src/hdx/scraper/ophi/__main__.py +++ b/src/hdx/scraper/ophi/__main__.py @@ -80,7 +80,8 @@ def update_dataset(dataset): mpi_subnational_path, trend_path, ) - dataset_generator.load_showcase_links(retriever) + if create_country_datasets: + dataset_generator.load_showcase_links(retriever) standardised_global = pipeline.get_standardised_global() standardised_global_trend = ( pipeline.get_standardised_global_trend()