Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pathways' into pathways
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Jul 30, 2024
2 parents 97e76d6 + d729f69 commit dababd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions premise/activity_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def generate_sets_from_filters(self, filtr: dict, database=None) -> dict:
# check if all keys have values
# if not, print warning
for key, val in mapping.items():
if not val:
print(f"Warning: No activities found for {key} -- revise mapping.")
if not val:
print(f"Warning: No activities found for {key} -- revise mapping.")

return mapping
1 change: 0 additions & 1 deletion premise/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ def generate_summary_report(scenarios: list, filename: Path) -> None:
for scenario_idx, scenario in enumerate(scenarios):
if (scenario["model"], scenario["pathway"]) not in scenario_list:


iam_data = fetch_data(
iam_data=scenario["iam data"],
sector=sector,
Expand Down

0 comments on commit dababd6

Please sign in to comment.