Closed osma closed 2 years ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Merging #619 (b9af8b2) into master (48b23f7) will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #619 +/- ##
=======================================
Coverage 99.61% 99.61%
=======================================
Files 87 87
Lines 6034 6038 +4
=======================================
+ Hits 6011 6015 +4
Misses 23 23
Impacted Files | Coverage Δ | |
---|---|---|
annif/registry.py | 100.00% <100.00%> (ø) |
|
tests/test_vocab.py | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
This little PR fixes a parsing bug related to vocabulary IDs. If a vocabulary ID such as
yso-fi
oryso-arch
was given in the configuration file, it would be shortened toyso
. The regex for matching IDs was too restrictive.This PR fixes the regex and adds a unit test verifying that it keeps working as intended.