DVC

DVC

Git

class pychron.dvc.meta_repo.MetaRepo(*args: Any, **kwargs: Any)[source]
get_cocktail_irradiation()[source]

example cocktail.json

{

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

}

Returns

make_geometry_file(name, holes)[source]

holes = [(x,y,r,id), ] :param holes: :return:

class pychron.git_archive.repo_manager.GitRepoManager(*args: Any, **kwargs: Any)[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, use_auto_pull=False)[source]

fetch and merge

if use_auto_pull is False ask user if they want to accept the available updates

unpack_blob(hexsha, p)[source]

p: str. should be absolute path