Skip to content

Commit

Permalink
style: 🎨 Black format
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoadesScholar committed Nov 4, 2024
1 parent 6371af1 commit 86db200
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cellmap_data/subdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86db200

Please sign in to comment.