diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index cf68c4c..53549f1 100644 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -133,9 +133,7 @@ def source(request): @pytest.fixture(params=("overhead", "zarr", "tiff", "hdf5")) def file_type(request, source): - if request.param == "overhead": - filename, fs = source("1-byte") class Overhead(Fixture): @@ -149,7 +147,6 @@ def run(self, chunk_index): return Overhead(source) elif request.param == "zarr": - filename, fs = source(f"{BASE}.ome.zarr") class Zarr(Fixture): @@ -167,7 +164,6 @@ def run(self, chunk_index): return Zarr(source) elif request.param == "tiff": - filename, fs = source(f"{BASE}.ome.tiff") class TIFF(Fixture): @@ -189,7 +185,6 @@ def run(self, chunk_index): return TIFF(source) elif request.param == "hdf5": - filename, fs = source(f"{BASE}.ims") class HDF5(Fixture): @@ -208,12 +203,10 @@ def run(self, chunk_index): return HDF5(source) else: - raise NotImplementedError(request.param) def test_benchmark(file_type, chunk_choice, record_property): - chunk_index, chunk_meta = chunk_choice chunk_distance, chunk_record = chunk_meta diff --git a/results/std_mean.py b/results/std_mean.py index 7c5a3b5..b58d101 100644 --- a/results/std_mean.py +++ b/results/std_mean.py @@ -5,7 +5,6 @@ # source (e.g. http, local, s3) for csv_file in ["2d_benchmark_data.csv", "3d_benchmark_data.csv"]: - print(csv_file) df = pandas.read_csv(csv_file)