From b0ed27a4e6aaa5f387c28525c4efb5402762ec8e Mon Sep 17 00:00:00 2001 From: Fabien Maussion Date: Tue, 19 Mar 2019 05:55:57 +0000 Subject: [PATCH] Fix timing bug in benchmarks --- oggm/cli/benchmark.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oggm/cli/benchmark.py b/oggm/cli/benchmark.py index a2c40d56d..af03ef0d7 100644 --- a/oggm/cli/benchmark.py +++ b/oggm/cli/benchmark.py @@ -168,6 +168,7 @@ def run_benchmark(rgi_version=None, rgi_reg=None, border=None, output_filesuffix='_tstar') _add_time_to_df(odf, 'run_random_climate_tstar_250', time.time()-start) + start = time.time() workflow.execute_entity_task(tasks.run_random_climate, gdirs, nyears=250, y0=1995, seed=0, output_filesuffix='_commit')