From 86db20069e3f2662620005aac469376c3610993d Mon Sep 17 00:00:00 2001 From: rhoadesScholar Date: Mon, 4 Nov 2024 14:17:24 -0500 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20Black=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cellmap_data/subdataset.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cellmap_data/subdataset.py b/src/cellmap_data/subdataset.py index 8148596..3df9d53 100644 --- a/src/cellmap_data/subdataset.py +++ b/src/cellmap_data/subdataset.py @@ -10,7 +10,11 @@ class CellMapSubset(Subset): This subclasses PyTorch Subset to wrap a CellMapDataset or CellMapMultiDataset object under a common API, which can be used for dataloading. It maintains the same API as the Subset class. It retrieves raw and groundtruth data from a CellMapDataset or CellMapMultiDataset object. """ - def __init__(self, dataset: CellMapDataset | CellMapMultiDataset, indices: Sequence[int], ) -> None: + def __init__( + self, + dataset: CellMapDataset | CellMapMultiDataset, + indices: Sequence[int], + ) -> None: """ Args: dataset: CellMapDataset | CellMapMultiDataset