-
Notifications
You must be signed in to change notification settings - Fork 82
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
Feature - Make the score type configurable through the result config object #1340
Conversation
ea9cc3e
to
2756e71
Compare
Codecov Report
@@ Coverage Diff @@
## master #1340 +/- ##
==========================================
+ Coverage 97.52% 97.52% +<.01%
==========================================
Files 226 226
Lines 8778 8780 +2
==========================================
+ Hits 8561 8563 +2
Misses 217 217
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.
💅
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.
Thank you for finding your way in the alignment monster-dule. I would suggest some changes to simplify the score_type
extraction, based on some assumptions that we can make.
2756e71
to
8aabcdc
Compare
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.
tini tiny remark
EXPECT_TRUE((std::is_same_v<decltype(std::declval<_t>().id()), uint32_t>)); | ||
EXPECT_TRUE((std::is_same_v<decltype(std::declval<_t>().score()), int32_t>)); | ||
} | ||
|
||
{ // test case II | ||
auto cfg = align_cfg::edit | align_cfg::result{with_score}; |
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.
can't you make this one case I and ...
(or you have to change the numbering // test case II
-> // test case I
, // test case III
)
@@ -63,6 +55,18 @@ TEST(alignment_selector, align_result_selector_with_list) | |||
} | |||
} | |||
|
|||
TEST(alignment_selector, align_result_selector_using_score_type) |
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.
... this one case II?
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.
I prefer single tests for single cases so I just removed the documentation from above. It just states the obvious anyway..
8aabcdc
to
46f296b
Compare
…ome of the alignment test templates.
46f296b
to
8119397
Compare
The snippets are failing: https://travis-ci.org/seqan/seqan3/jobs/618589436#L5802 |
The snippet failing is still a thing. |
… align_result_selector change the if clause to an static assert.
8119397
to
cc9e158
Compare
No description provided.