graphnet-team / graphnet

A Deep learning library for neutrino telescopes
https://graphnet-team.github.io/graphnet/
Apache License 2.0
85 stars 85 forks source link

Update Type hints in `GraphNeTDataModule` #695

Closed RasmusOrsoe closed 2 months ago

RasmusOrsoe commented 2 months ago

Since merging #689, code quality checks have failed due to a type hint mismatch in CuratedDataset. See this.

As a result, new PRs like #676 will automatically fail this check.

It's not clear to me how this was possible in the first place, as #689 passed all checks before merging.

To resolve the error, this PR corrects the type hints.