From dabbc11715fa4ab1efc21262bface813b6876147 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Fri, 13 May 2022 05:55:48 +0200 Subject: [PATCH] Improve logic --- slr/generate_slr_timeseries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slr/generate_slr_timeseries.py b/slr/generate_slr_timeseries.py index 8c85efc..f3943b3 100644 --- a/slr/generate_slr_timeseries.py +++ b/slr/generate_slr_timeseries.py @@ -38,7 +38,7 @@ for i, (year, row) in enumerate(df.iterrows()): if len(s) > n_runs: break # Success else: - pass # We need more samples, so try larger factor + continue # We need more samples, so try larger factor # Add the requried number of samples slr[i] = s[:n_runs]