Skip to content

Commit bf075ce

Browse files
committed
fix test dataset
1 parent debd45f commit bf075ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

viscy/data/hcs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -427,13 +427,13 @@ def _setup_test(self, dataset_settings: dict):
427427
[p for _, p in plate.positions()],
428428
transform=test_transform,
429429
ground_truth_masks=self.ground_truth_masks,
430-
norm_meta=plate.zattrs["normalization"] ** dataset_settings,
430+
**dataset_settings,
431431
)
432432
else:
433433
self.test_dataset = SlidingWindowDataset(
434434
[p for _, p in plate.positions()],
435435
transform=test_transform,
436-
norm_meta=plate.zattrs["normalization"] ** dataset_settings,
436+
**dataset_settings,
437437
)
438438

439439
def _setup_predict(self, dataset_settings: dict):

0 commit comments

Comments
 (0)