-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
plots show: targets are required but help output indicates otherwise [qa] #3925
Comments
OK. Well I don't have any plots when I run it. How do you register plots? Did we end up adding an option for |
@jorgeorpinel, we have |
I didn't change this behavior, we still show all plots. Besides those options in run we can use |
So maybe the problem here is that when there are no plots in the project, e.g. in a new DVC repo, the error message is misleading? Maybe it should check for this particular condition and have a special error message. If that's the case I wouldn't call this a p0 🙂 |
Confirmed. This is something that I've missed initially.
This is a p0. |
Consistent with `dvc metrics show/diff` behaviour. Fixes iterative#3925
Consistent with `dvc metrics show/diff` behaviour. Fixes #3925
Bug Report
Help output indicates
targets
are optional, but an error is thrown if not provided:I assume targets are indeed required so they should be printed without[]
in the usage, and the param description should not read "Shows all plots by default."UPDATE: Improve the error message when there are no plots in the workspace.
Also note that the error uses the term "Datafile" which is confusing as it's no longer the name of the argument — Let's probably review this term all over the code base, not just in this one message?
Please provide information about your setup
DVC 1.0.0a6+283718
The text was updated successfully, but these errors were encountered: