Sfoglia il codice sorgente

Merge pull request #101 from JGuetschow/fix-docs-2

crdanielbusch 5 mesi fa
parent
commit
23bd774b57

+ 1 - 1
.github/actions/setup/action.yml

@@ -36,7 +36,7 @@ runs:
       uses: actions/setup-python@v5
       with:
         python-version: ${{ inputs.python-version }}
-        cache: poetry
+#        cache: poetry
     - name: Set Poetry environment
       shell: bash
       run: |

+ 8 - 8
src/unfccc_ghg_data/unfccc_reader/Mongolia/read_MNG_BUR2_from_pdf.py

@@ -5,7 +5,14 @@ Read Mongolia's BUR2 from pdf
 import camelot
 import pandas as pd
 import primap2 as pm2
-from config_mng_bur2 import (
+
+from unfccc_ghg_data.helper import (
+    downloaded_data_path,
+    extracted_data_path,
+    fix_rows,
+    process_data_for_country,
+)
+from unfccc_ghg_data.unfccc_reader.Mongolia.config_mng_bur2 import (
     coords_cols,
     coords_defaults,
     coords_terminologies,
@@ -22,13 +29,6 @@ from config_mng_bur2 import (
     meta_data,
 )
 
-from unfccc_ghg_data.helper import (
-    downloaded_data_path,
-    extracted_data_path,
-    fix_rows,
-    process_data_for_country,
-)
-
 # pd.options.mode.chained_assignment = None  # default='warn'
 
 if __name__ == "__main__":