From 739326162ca9963d4ab0f8086060baca5be0fdfe Mon Sep 17 00:00:00 2001 From: sfmig <33267254+sfmig@users.noreply.github.com> Date: Mon, 9 Oct 2023 19:53:07 +0100 Subject: [PATCH] replace setup_cache for cache (WIP) --- benchmarks/cellfinder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/cellfinder.py b/benchmarks/cellfinder.py index c18b0e44..a23b8c83 100644 --- a/benchmarks/cellfinder.py +++ b/benchmarks/cellfinder.py @@ -46,8 +46,8 @@ class TimeBenchmark: sample_time = 0.01 # default: 10 ms = 0.01 s; min_run_count = 2 # default:2 - # @classmethod ---> this was to reuse this setup fn for other benchmarls - def setup_cache( + @classmethod # ---> this was to reuse this setup fn for other benchmarks + def setup( self, ): # ---> cache so that we dont download data several times? # monkeypatch command line arguments