Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASdataprocessing
Commits
46a289f7
Commit
46a289f7
authored
Jan 14, 2018
by
Steffen Vogel
🎅🏼
Browse files
dpsim: fix usage of undefined variable
parent
c288e0fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
dataprocessing/readtools.py
View file @
46a289f7
...
...
@@ -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'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment