Skip to content

Commit

Permalink
Merge pull request #75 from agoenergy/fix/empty_input_data
Browse files Browse the repository at this point in the history
Fix: empty input data (#73)
  • Loading branch information
markushal authored Nov 8, 2023
2 parents 464c8d3 + 90557c4 commit 785964e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ptxboa_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ def content_input_data(api: PtxboaAPI, settings: dict) -> None:
# filter data:
region_list_without_subregions = (
api.get_dimension("region")
.loc[api.get_dimension("region")["subregion_code"].isna()]
.loc[api.get_dimension("region")["subregion_code"] == ""]
.index.to_list()
)
input_data = input_data.loc[
Expand Down

0 comments on commit 785964e

Please sign in to comment.