Ver código fonte

Fix bug in read_new_CRF_for_year which prevented ubnlocking of the output files

Johannes Gütschow 2 meses atrás
pai
commit
3d7e210313

+ 4 - 1
src/unfccc_ghg_data/unfccc_crf_reader/unfccc_crf_reader_prod.py

@@ -616,7 +616,10 @@ def read_new_crf_for_year_datalad(  # noqa: PLR0912
     for country in countries:
         try:
             country_info = get_input_and_output_files_for_country(
-                country, submission_year=submission_year, verbose=False
+                country,
+                submission_year=submission_year,
+                submission_type=type,
+                verbose=False,
             )
             # check if the submission has been read already
             if re_read: