From 91093620bdb77e6a58009eaa0a106cfba74c5128 Mon Sep 17 00:00:00 2001 From: Andres Ramos <61053256+arght@users.noreply.github.com> Date: Wed, 4 Dec 2024 22:03:32 +0100 Subject: [PATCH] Update openTEPES_InputData.py --- openTEPES/openTEPES_InputData.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openTEPES/openTEPES_InputData.py b/openTEPES/openTEPES_InputData.py index a358d09f..cb87bb5e 100644 --- a/openTEPES/openTEPES_InputData.py +++ b/openTEPES/openTEPES_InputData.py @@ -18,8 +18,8 @@ def InputData(DirName, CaseName, mTEPES, pIndLogConsole): StartTime = time.time() #%% reading data from CSV - dfOption = pd.read_csv(f'{_path}/oT_Data_Option_' f'{CaseName}.csv' ) - dfParameter = pd.read_csv(f'{_path}/oT_Data_Parameter_' f'{CaseName}.csv' ) + dfOption = pd.read_csv(f'{_path}/oT_Data_Option_' f'{CaseName}.csv', header=0 ) + dfParameter = pd.read_csv(f'{_path}/oT_Data_Parameter_' f'{CaseName}.csv', header=0 ) dfPeriod = pd.read_csv(f'{_path}/oT_Data_Period_' f'{CaseName}.csv', header=0, index_col=[0 ]) dfScenario = pd.read_csv(f'{_path}/oT_Data_Scenario_' f'{CaseName}.csv', header=0, index_col=[0,1 ]) dfStage = pd.read_csv(f'{_path}/oT_Data_Stage_' f'{CaseName}.csv', header=0, index_col=[0 ])