Skip to content

Commit

Permalink
Fixing data packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Jan 6, 2025
1 parent a9d34a8 commit df65174
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions premise/metals.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df65174

Please sign in to comment.