Commit 46a289f7 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼

dpsim: fix usage of undefined variable

parent c288e0fa
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment