Skip to content

Commit 1b46a1b

Browse files
committed
Fix bug by allowing emission_scenarios to be None
1 parent 613b18f commit 1b46a1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dscim/menu/simple_storage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ def __init__(
5454
ecs_mask_path=None,
5555
ecs_mask_name=None,
5656
base_period=(2001, 2010),
57-
emission_scenarios=None,
57+
emission_scenarios=(),
5858
gases=None,
5959
):
60-
if emission_scenarios is None:
60+
if emission_scenarios == ():
6161
emission_scenarios = [
6262
"ssp119",
6363
"ssp126",

0 commit comments

Comments
 (0)