From 1f33fdbf62b643cfdf892c05c341ddb024b514e8 Mon Sep 17 00:00:00 2001 From: lmanan Date: Mon, 23 Oct 2023 10:45:11 -0400 Subject: [PATCH] Slight edit for scenario where non zero samples and 0 channels --- src/napari_cellulus/dataset.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/napari_cellulus/dataset.py b/src/napari_cellulus/dataset.py index 60840d1..9b3e4ae 100644 --- a/src/napari_cellulus/dataset.py +++ b/src/napari_cellulus/dataset.py @@ -94,7 +94,6 @@ def __setup_pipeline(self): NapariImageSource( self.layer, self.raw, raw_spec, self.spatial_dims ) - + gp.Unsqueeze([self.raw], 1) + gp.RandomLocation() + gp.Unsqueeze([self.raw], 1) )