Created
January 29, 2019 04:25
-
-
Save AlJohri/25d28acacbbc96f112220611ccc8e09a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
from dvc.project import Project | |
from dvc.stage import Stage | |
stage_file = sys.argv[1] | |
dvc = Project() | |
with dvc.state: | |
stage = Stage.load(dvc, stage_file) | |
stage.save() | |
stage.dump() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment