-
Couldn't load subscription status.
- Fork 1.3k
Closed as not planned
Labels
enhancementEnhances DVCEnhances DVCp2-mediumMedium priority, should be done, but less importantMedium priority, should be done, but less importantresearch
Description
The following command deletes data/clean -- it would be nice if there was a warning or something since there may already be data in data/clean. The solution was to modify the script so that the data/clean directory was created by the script.
dvc run -d data/raw/ -d src/featherize_data.py --outs data/clean/ python src/featherize_data.py
<<Hi @david8381 ! That happens because dvc run is trying to ensure that your command is the one creating your output.
So that when you run dvc repro later, it will be able to fully reproduce the output.
So you need to make your script create that directory.>>
efiop, chrisranderson, KernelA, jorgeorpinel and dsuess
Metadata
Metadata
Assignees
Labels
enhancementEnhances DVCEnhances DVCp2-mediumMedium priority, should be done, but less importantMedium priority, should be done, but less importantresearch