From 6611985f5aca79ddd180bdc2dc8ddef79bfc3760 Mon Sep 17 00:00:00 2001 From: leo guercio Date: Tue, 14 Jan 2025 18:05:07 +0100 Subject: [PATCH] Call import_global_emissions in importer --- app/services/import_indc.rb | 1 + spec/services/import_indc_spec.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/services/import_indc.rb b/app/services/import_indc.rb index 1c6bf4546..8172e4c67 100644 --- a/app/services/import_indc.rb +++ b/app/services/import_indc.rb @@ -61,6 +61,7 @@ def call import_submissions import_comparison_slugs import_timelines + import_global_emissions end generate_subsectors_map_data diff --git a/spec/services/import_indc_spec.rb b/spec/services/import_indc_spec.rb index ef4118401..14efcd8f5 100644 --- a/spec/services/import_indc_spec.rb +++ b/spec/services/import_indc_spec.rb @@ -91,7 +91,7 @@ Algeria,DZA,First NDC Submitted,12/3/24,https://unfccc.int/NDCREG END - "#{CW_FILES_PREFIX}indc/NDC_global_emissions.csv" => <<~END, + "#{CW_FILES_PREFIX}indc/NDC_global_emissions.csv" => <<~END year,Historical emissions,Current policies scenario,2020 NDCs conditional,2020 NDCs unconditional,2025 NDCs conditional,2025 NDCs unconditional,2C,1.5C 2030,100,56,1,48,3,4,32,24 2031,200,56,1,2,45,47,28,17