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]