-
Notifications
You must be signed in to change notification settings - Fork 81
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] Alignment score types should be signed #1891
[FIX] Alignment score types should be signed #1891
Conversation
caf0a2d
to
6949b77
Compare
Codecov Report
@@ Coverage Diff @@
## master #1891 +/- ##
=======================================
Coverage 97.71% 97.71%
=======================================
Files 254 254
Lines 9568 9568
=======================================
Hits 9349 9349
Misses 219 219
Continue to review full report at Codecov.
|
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.
Looks Good ! :)
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.
some 💅
CHANGELOG.md
Outdated
@@ -102,6 +102,8 @@ Note that 3.1.0 will be the first API stable release and interfaces in this rele | |||
* When invoking the alignment algorithm with a user defined thread count using the `seqan3::align_cfg::parallel` | |||
configuration element, `std::thread::hardware_concurrency()` many threads were always spawned. This is now fixed and | |||
only the specified number of threads will be spawned ([\#1854](https://github.com/seqan/seqan3/pull/1854)). | |||
* Using an unsigned `score_type` throws a static assert, since gaps and mismatches have negative scores and thus need a |
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.
* Using an unsigned `score_type` throws a static assert, since gaps and mismatches have negative scores and thus need a | |
* Using an unsigned `score_type` is prevented with a static assert, since gaps and mismatches have negative scores and thus need a |
static_assert(std::is_signed_v<score_type>, | ||
"The alignment algorithm cannot be computed with an unsigned type as the score type. If you " | ||
"explicitly want an unsigned type as the score type, please submit a feature request explaining the " | ||
"proposed use case on our github page."); |
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.
"proposed use case on our github page."); | |
"your specific use case on our github page: github.com/seqan/seqan3.git."); |
Signed-off-by: Lydia Buntrock <lydia.buntrock@fu-berlin.de>
6949b77
to
b9d043f
Compare
Resolves #1867