-
Notifications
You must be signed in to change notification settings - Fork 8
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
[MISC] Remove some warnings and update parser. #164
Conversation
@@ -282,7 +282,7 @@ TEST_F(iGenVar_cli_test, fail_negative_min_var_length) | |||
"--min_var_length -30"); | |||
std::string expected_err | |||
{ | |||
"[Error] You gave a negative min_var_length parameter.\n" | |||
"[Error] Value parse failed for --min_var_length: Argument -30 could not be parsed as type std::string.\n" |
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.
Why is'nt this size_t
? Is this a bug of the seqan3 parser?
"[Error] Value parse failed for --min_var_length: Argument -30 could not be parsed as type std::string.\n" | |
"[Error] Value parse failed for --min_var_length: Argument -30 could not be parsed as type size_t.\n" |
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.
Resolved by seqan/seqan3#2836
After SeqAn3 Release 3.1. it will look like:
"[Error] Value parse failed for --min_var_length: Argument -30 could not be parsed as type std::string.\n" | |
"[Error] Value parse failed for --min_var_length: Argument -30 could not be parsed as type unsigned 64 bit integer.\n" |
36019a4
to
febb5d4
Compare
Codecov Report
@@ Coverage Diff @@
## master #164 +/- ##
==========================================
+ Coverage 94.88% 96.39% +1.50%
==========================================
Files 18 18
Lines 763 749 -14
==========================================
- Hits 724 722 -2
+ Misses 39 27 -12
Continue to review full report at Codecov.
|
Signed-off-by: Lydia Buntrock <[email protected]>
Signed-off-by: Lydia Buntrock <[email protected]>
b8478b0
to
10fb29e
Compare
@@ -15,7 +15,7 @@ enum detection_methods | |||
|
|||
//!\cond | |||
// ATTENTION: Must always be the last item; will be used to determine the number of ids. | |||
SIZE //!< Determines the size of the enum. | |||
// SIZE //!< Determines the size of the enum. |
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.
Since we don't need this at the moment I have just commented it out.
Resolves #161
When you build iGenVar with
cmake ~/Repos/iGenVar/ -DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic"
you will run into some warnings, which will also get fixed with this PR.I added some tests and cleaned up the CLI tests in the process. Now the file is very difficult to review. So maybe just ignore it, since my new tests all go through and are not a big innovation.