Skip to content

Commit 71012ba

Browse files
committed
[DOC] fix code example formatting
1 parent 078f0fa commit 71012ba

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/scportrait/tools/ml/datasets.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -407,14 +407,14 @@ class HDF5SingleCellDataset(_HDF5SingleCellDataset):
407407
408408
.. code-block:: python
409409
410-
hdf5_data = HDF5SingleCellDataset(
411-
dir_list=["path/to/data/data1.hdf5", "path/to/data/data2.hdf5"],
412-
dir_labels=[0, 1],
413-
transform=None,
414-
return_id=True,
415-
)
410+
hdf5_data = HDF5SingleCellDataset(
411+
dir_list=["path/to/data/data1.hdf5", "path/to/data/data2.hdf5"],
412+
dir_labels=[0, 1],
413+
transform=None,
414+
return_id=True,
415+
)
416416
417-
print(len(hdf5_data)) # Output: 2000
417+
print(len(hdf5_data)) # Output: 2000
418418
419419
"""
420420

0 commit comments

Comments
 (0)