DVC

DVC

pychron.dvc.dvc.DVC

Git

class pychron.dvc.meta_repo.MetaRepo(*args, **kw)[source]
get_cocktail_irradiation()[source]

example cocktail.json

{

“chronology”: “2016-06-01 17:00:00”, “j”: 4e-4, “j_err”: 4e-9

}

Returns

class pychron.git_archive.repo_manager.GitRepoManager(*args, **kw)[source]

manage a local git repository

get_modification_date(path)[source]

“Fri May 18 11:13:57 2018 -0600” :param path: :return:

init_repo(path)[source]

path: absolute path to repo

return True if git repo exists

open_repo(name, root=None)[source]

name: name of repo root: root directory to create new repo

pull(branch='master', remote='origin', handled=True, use_progress=True)[source]

fetch and merge

unpack_blob(hexsha, p)[source]

p: str. should be absolute path