Skip to content

Commit

Permalink
tests: fix setting up several tests with new dclab version
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Oct 24, 2023
1 parent 85cbf02 commit a8e6062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_gui_filter.py
Expand Up @@ -31,6 +31,7 @@ def make_fake_dataset():
ddict["area_ratio"][1] = np.nan
ds2 = dclab.new_dataset(ddict)
ds2.config.update(config)
ds2.config["experiment"]["event count"] = 100
ds2.export.hdf5(tmp, features=["area_um", "deform", "area_ratio"])
return tmp

Expand Down
1 change: 1 addition & 0 deletions tests/test_pipeline_core.py
Expand Up @@ -57,6 +57,7 @@ def test_get_min_max_inf():
ddict["area_ratio"][1] = np.nan
ds2 = dclab.new_dataset(ddict)
ds2.config.update(config)
ds2.config["experiment"]["event count"] = 100
ds2.export.hdf5(tmp, features=["area_um", "deform", "area_ratio"])

# initiate the pipeline
Expand Down

0 comments on commit a8e6062

Please sign in to comment.