Exemplo n.º 1
0
def redo(ctx, increment):
    """ Revert files to incremented run id """
    tools.deploy_trial(fo.get_meta(ctx=ctx)["current_trial"] + increment, ctx)
Exemplo n.º 2
0
def deploy(ctx, trial_id):
    """ Undo any file changes to revert tracked files to the given a trial's ID """
    tools.deploy_trial(trial_id, ctx)
Exemplo n.º 3
0
def undo(ctx, decrement):
    """ Revert files to decremented run id """
    tools.deploy_trial(fo.get_meta(ctx=ctx)["current_trial"] - decrement, ctx)