Skip to content

Commit

Permalink
Adjust names, adding comments
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMau committed Jan 30, 2024
1 parent 287b324 commit 3865a24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -70,7 +70,7 @@ def read(*names, **kwargs):
# "oemof.solph>=0.5.1",
"oemof.solph==0.5.2dev0",
"pandas>=0.22",
"oemof.network==0.5.0a4",
"oemof.network==0.5.0a4", #Temporal fix due to braking changes in 0.5.1
"paramiko",
"toml",
],
Expand Down
6 changes: 3 additions & 3 deletions src/oemof/tabular/datapackage/reading.py
Expand Up @@ -459,9 +459,9 @@ def create_yearly_values(
results = pd.concat([results, pd.Series(values[-1])])
return results.tolist()

def convert_and_deserialize_dtypes(facade, period_data):
def unpack_sequences(facade, period_data):
"""
Depending on dtype and content.
Depending on dtype and content:
Periodically changing values [given as array] are either unpacked into
- full periods
- yearly values (between periods)
Expand Down Expand Up @@ -566,7 +566,7 @@ def convert_and_deserialize_dtypes(facade, period_data):
# convert decimal to float

read_facade(
convert_and_deserialize_dtypes(
unpack_sequences(
facade=facade, period_data=period_data
),
facades,
Expand Down

0 comments on commit 3865a24

Please sign in to comment.