-
Notifications
You must be signed in to change notification settings - Fork 78
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
do bounds checking on --scaled and --num via command line #1243
Comments
Update w/explanations after labeling with a good-first-issue tag -
suggest starting with |
I would like to work on this. @ctb |
go for it! |
@ctb I can't seem to find any instances of |
ahh, yes! look for I think there is some information on which commands accept
|
How can I test the changes that I make in |
essentially all of the commands in that file are top-level command-line commands. So, find the function name, go look up what the function does in the docs, and run it that way :). If I forget exactly what a command does, sometimes I go find a test in |
Oh okay. I'll check it out. Thanks! |
hi @keyabarve, you asked on slack about where to get started - here's a command that accepts
Instead of just proceeding, this command should do what sourmash sketch does and emit a warning:
|
Okay, I will try it out! |
@ctb I went through the |
what do you find when you use
in the git repo? If you list out all place where you find it, and annotate them as relevant/not relevant to this issue, I can provide feedback there. In terms of how to implement it, I think you can use a similar approach as to what you did with |
This is the output:
I think the following are the relevant ones to this issue:
Alright! The only issue is, I couldn't find any |
The
What about the places you just listed above? Aren't those |
Yes, they are, but they're divided into |
Please update the |
Okay, I'll do that. Should I also use the things that I did for |
e.g.
--scaled 0
works => produces a num sketch, which is technically ok but...The text was updated successfully, but these errors were encountered: