matchms / matchms-backup

Python library for fuzzy comparison of mass spectrum data and other Python objects
Apache License 2.0
0 stars 1 forks source link

some untested lines in spectrum.py #199

Closed cwmeijer closed 4 years ago

cwmeijer commented 4 years ago

Through sonar qube I saw some untested lines with high complexity. https://sonarcloud.io/component_measures?id=matchms_matchms&metric=Coverage&selected=matchms_matchms%3Amatchms%2FSpectrum.py&view=list The untested branch is some error handling during plot. This concerns the lines around r68. Some small refactorings can also be done in these lines.