diff --git a/scripts/capacity_factors.py b/scripts/capacity_factors.py index c91d8ce..6a73371 100644 --- a/scripts/capacity_factors.py +++ b/scripts/capacity_factors.py @@ -1,7 +1,7 @@ import pandas as pd from scripts.create_date_index import create_date_index -capacity_factors_excel_dir = 'inputs\\capacity_factors.xlsx' +capacity_factors_excel_dir = 'inputs/capacity_factors.xlsx' def assign_capacity_factor_based_on_voivodeship(df_original, index_date, points_in_vois): diff --git a/scripts/lines_buses.py b/scripts/lines_buses.py index 5f088e3..afa455b 100644 --- a/scripts/lines_buses.py +++ b/scripts/lines_buses.py @@ -34,7 +34,7 @@ def create_lines_between_buses(year, df_buses, save_directory): buses = df_buses['name'].to_list() # Create lines between buses but only for existing ones - df_lines = pd.read_excel('inputs\\lines.xlsx', sheet_name=str(year), index_col=0) + df_lines = pd.read_excel('inputs/lines.xlsx', sheet_name=str(year), index_col=0) df_lines['bus0'] = df_lines['bus0'].astype(str) df_lines['bus1'] = df_lines['bus1'].astype(str) df_lines = df_lines[(df_lines['bus0'].isin(buses)) & (df_lines['bus1'].isin(buses))]