matchms / ms2deepscore

Deep learning similarity measure for comparing MS/MS spectra with respect to their chemical similarity
Apache License 2.0
53 stars 24 forks source link

use dummy data for generator tests #135

Closed florian-huber closed 1 year ago

florian-huber commented 1 year ago

@niekdejonge this is intended to expand tests on our generators where needed.

In addition the the former tests which use an actual data file it now runs a test using dummy data of the form:

I hope that this way we can better check if the score bins are used properly. And maybe also test if the data is selected the way we intended.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

florian-huber commented 1 year ago

Thanks @niekdejonge . I added your suggestions.