Skip to content

Commit

Permalink
assert isinstance(scenario, str), f"Scenario has to be String but got…
Browse files Browse the repository at this point in the history
… scenario: {scenario}"
  • Loading branch information
Robert John committed Oct 7, 2024
1 parent e90e820 commit fa607c5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/egon/data/datasets/storages_etrago/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ def insert_PHES():


def extendable_batteries_per_scenario(scenario):

assert isinstance(scenario, str), f"Scenario has to be String but got scenario: {scenario}"

# Get datasets configuration
sources = config.datasets()["storage_etrago"]["sources"]
targets = config.datasets()["storage_etrago"]["targets"]
Expand Down

0 comments on commit fa607c5

Please sign in to comment.