Skip to content
Snippets Groups Projects
Commit 46a289f7 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

dpsim: fix usage of undefined variable

parent c288e0fa
No related branches found
No related tags found
No related merge requests found
......@@ -73,9 +73,8 @@ def read_timeseries_dpsim_real(filename, timeseries_names=None):
column_names.remove('time')
timestamps = pd_df.iloc[:,0]
if header is True:
for name in column_names:
timeseries_list.append(TimeSeries(name, timestamps, pd_df[name].values))
for name in column_names:
timeseries_list.append(TimeSeries(name, timestamps, pd_df[name].values))
else:
# Read in specified time series
print('no column names specified yet')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment