-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: nucleotide symbol equals with dot #341
Conversation
db2d408
to
855a492
Compare
@@ -7,7 +7,7 @@ TEST(NucleotideSymbol, enumShouldHaveSameLengthAsArrayOfSymbols) { | |||
} | |||
|
|||
TEST(NucleotideSymbol, conversionFromCharacter) { | |||
EXPECT_EQ(silo::Nucleotide::charToSymbol('.'), silo::Nucleotide::Symbol::GAP); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, it worked as the tests suggested, just the test was wrong 😄
I will now also add that the amino acid symbols are treated the same. (They give the correct result, but not explicitly by design.) |
@JonasKellerer great yes, amino acid syntax should be the same, |
855a492
to
42ac7ce
Compare
There is now a new ticket #342 to revisit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
From GenSpectrum/cov-spectrum-website#938
Summary
'.'
should count if the symbol is equal to the reference genome. This PR should fix that.PR Checklist
- [ ] All necessary documentation has been adapted or there is an issue to do so.