Skip to content

Commit

Permalink
Fixed typehints for make_(train_validation)_dataloader
Browse files Browse the repository at this point in the history
  • Loading branch information
AMHermansen committed Sep 19, 2023
1 parent 4af2872 commit 368b9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphnet/training/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
def collate_fn(graphs: List[Data]) -> Batch:
"""Remove graphs with less than two DOM hits.
Should not occur in "production.
Should not occur in "productio"n.
"""
graphs = [g for g in graphs if g.n_pulses > 1]
return Batch.from_data_list(graphs)
Expand Down

0 comments on commit 368b9a8

Please sign in to comment.