diff --git a/MANIFEST.in b/MANIFEST.in index 951acb34..4ba90a11 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -33,7 +33,7 @@ include premise/data/metals/*.yaml include premise/data/metals/*.txt include premise/data/metals/*.csv include premise/data/metals/*.xlsx -include premise/data/metals/post-allocation correction/*.yaml +include premise/data/metals/post-allocation_correction/*.yaml include premise/data/transport/*.yaml include premise/data/transport/*.csv include premise/data/transport/bus/*.csv diff --git a/premise/data/metals/post-allocation correction/corrections.yaml b/premise/data/metals/post-allocation_correction/corrections.yaml similarity index 100% rename from premise/data/metals/post-allocation correction/corrections.yaml rename to premise/data/metals/post-allocation_correction/corrections.yaml diff --git a/premise/metals.py b/premise/metals.py index dfe67e42..58a96f97 100644 --- a/premise/metals.py +++ b/premise/metals.py @@ -190,11 +190,11 @@ def get_ecoinvent_metal_factors(): def load_post_allocation_correction_factors(): """ - Load yaml file with post-allocation correction factors + Load yaml file with post-allocation_correction factors """ - filepath = DATA_DIR / "metals" / "post-allocation correction" / "corrections.yaml" + filepath = DATA_DIR / "metals" / "post-allocation_correction" / "corrections.yaml" with open(filepath, "r", encoding="utf-8") as stream: factors = yaml.safe_load(stream) return factors