Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 7, 2023
1 parent 94e4eb0 commit c6d90db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions benchmark/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand All @@ -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):
Expand All @@ -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):
Expand All @@ -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

Expand Down
1 change: 0 additions & 1 deletion results/std_mean.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c6d90db

Please sign in to comment.