wfondrie / depthcharge

A deep learning toolkit for mass spectrometry
https://wfondrie.github.io/depthcharge/
Apache License 2.0
59 stars 18 forks source link

Reflect `samples` argument in `SpectrumDataset` lengths #49

Closed wfondrie closed 4 months ago

wfondrie commented 4 months ago

This PR makes the SpectrumDataset class and its children play nice with the samples argument of the parent LanceDataset.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.67%. Comparing base (35bf3e7) to head (9abe83b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #49 +/- ## ========================================== + Coverage 96.66% 96.67% +0.01% ========================================== Files 24 24 Lines 959 962 +3 ========================================== + Hits 927 930 +3 Misses 32 32 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.