Skip to content

Commit dabf461

Browse files
committed
Minor fix
1 parent a9d37d6 commit dabf461

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

supar/utils/alg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def tarjan(sequence):
8686
List of head indices.
8787
8888
Yields:
89-
A list of indices that make up a SCC. All self-loops are ignored.
89+
A list of indices making up a SCC. All self-loops are ignored.
9090
9191
Examples:
9292
>>> next(tarjan([2, 5, 0, 3, 1])) # (1 -> 5 -> 2 -> 1) is a cycle

supar/utils/data.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ class Dataset(torch.utils.data.Dataset):
1818
An instance of :class:`Transform` or its derivations.
1919
The instance holds a series of loading and processing behaviours with regard to the specific data format.
2020
data (list[list] or str):
21-
A list of instances or a filename.
22-
This will be passed into :meth:`transform.load`.
21+
A list of instances or a filename that will be passed into :meth:`transform.load`.
2322
kwargs (dict):
2423
Together with `data`, kwargs will be passed into :meth:`transform.load` to control the loading behaviour.
2524

0 commit comments

Comments
 (0)