-
Notifications
You must be signed in to change notification settings - Fork 80
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
[MRG] Adding brief descriptions and -h/--help
text to sourmash gather
, search
, and compare
#1735
Conversation
Codecov Report
@@ Coverage Diff @@
## latest #1735 +/- ##
==========================================
+ Coverage 82.72% 90.10% +7.38%
==========================================
Files 114 87 -27
Lines 12200 8401 -3799
Branches 1555 1555
==========================================
- Hits 10092 7570 -2522
+ Misses 1850 573 -1277
Partials 258 258
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@ctb I added the docstring and usage for the
I think the error is being thrown at this line: Could you provide any hints/suggestions? |
@ctb I noticed that the problem was with the % sign, so I replaced all the % signs with the word "percent" since I couldn't find any other way to fix it. I'm not sure if that's the correct way though. |
I also noticed that the sketch dna, protein, translate commands already have the doc and usage strings. |
@ctb Could you please take a look at what I've written and let me know if I should change anything? |
On Fri, Sep 03, 2021 at 06:19:36PM -0700, Keya Barve wrote:
@ctb I noticed that the problem was with the % sign, so I replaced all the % signs with the word "percent" since I couldn't find any other way to fix it. I'm not sure if that's the correct way though.
try %% - and check out python string formatting :)
|
@ctb A few comments:
Please let me know if I need to add/change anything else. |
-h/--help
text to sourmash commands-h/--help
text to sourmash commands
@ctb Please review. |
@mr-eyes Please review. |
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 great to me!
hi folks, I was caught a little bit by surprise when I saw that the Markdown syntax (including links) was simply included in the help text, e.g.
here it's worth noting a few things -
I'm working on making the necessary updates, but this is a plea to think about how the user is going to experience the changes and incorporate that into changes and/or reviews. thanks :) |
It's also worth noting that while markdown->html rendering doesn't pay attention to line breaks, that is NOT true for the text output to command line. So reformatting things so that lines present properly is also worth doing. |
-h/--help
text to sourmash commands-h/--help
text to sourmash gather
, search
, and compare
Hi @keyabarve if you merge in #1747, and everything looks good, we can merge this. Thank you! |
hi @keyabarve also -
Basically any sourmash dev should be able to read the top of this PR to figure out what was done (not what you intended to do, or how it was done ;); and any sourmash dev should be able to look at #1557 and see what is left to be done and where it is being done. Thanks! |
…e`. (#1747) * reformat compare -h output * reformat/edit gather output * reformat gather, search
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! please merge if & when tests pass!
Will do! Thanks! |
🎉 |
Addresses #1557
What was done:
Commands fixed:
NOTE:
The descriptions for all of the sourmash sig subcommands have been addressed in issue #1612 handled by PR #1714.