Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Apr 12, 2024
2 parents d8f023c + 8eaf2a5 commit 60aa2c3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pathways/pathways.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import logging
from collections import defaultdict
from multiprocessing import Pool, cpu_count
from typing import List, Optional, Any
from typing import Any, List, Optional

import numpy as np
import pandas as pd
Expand All @@ -32,6 +32,7 @@
resize_scenario_data,
)


def _get_mapping(data) -> dict:
"""
Read the mapping file which maps scenario variables to LCA datasets.
Expand Down Expand Up @@ -124,7 +125,9 @@ def _get_final_energy_mapping(self):
:return: dict
"""

def create_dict_for_specific_model(row: pd.Series, model: str) -> dict[Any, Any] | None:
def create_dict_for_specific_model(
row: pd.Series, model: str
) -> dict[Any, Any] | None:
"""
Create a dictionary for a specific model from the row.
:param row: dict
Expand Down

0 comments on commit 60aa2c3

Please sign in to comment.