-
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
dvc add a file from data directory #3218
Comments
I'm not sure about this implicit behavior. A user might not even notice that we did that trick and be then surprised that his file doesn't have their own dvc file. This is the only case where we've seen a report like that, so I would rather wait for someone else to report it, to understand if this is a one-off cofusion of particular user or something reoccurring. |
From conversation with @dmpetrov it is clear that he has seen other occurences of this issue and it would be great to at least improve the error |
Reproduction script:
|
From a discussion with users: https://opendatascience.slack.com/archives/CGGLZJ119/p1579704007005600 (you need access to this community)
The last command fails because the file is inside a data dir and you suppose to update (
dvc add
) the entire dir. However, a user intuition says (for some users) to add a single file.Ideally, this should work:
The text was updated successfully, but these errors were encountered: