Commit 33aa77cc authored by Cynthia Crowley's avatar Cynthia Crowley

Change state_vars from None to empty list if no state_vars are passed to compute_return_period()

parent b8c152e3
Pipeline #76028418 passed with stages
in 25 minutes and 52 seconds
......@@ -205,6 +205,8 @@ def compute_return_periods(workspace: DefaultWorkspace, *,
forcing_vars = []
if result_vars is None:
result_vars = []
if state_vars is None:
state_vars = []
args = {'yearmon': yearmon, 'target': target, 'window': window, 'member': member, 'basis': basis}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment