Skip to content

Commit

Permalink
exp show: fix bug where already collected exp results could be dropped (
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla authored Feb 25, 2021
1 parent e670644 commit b3a3280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dvc/repo/experiments/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def _collect_experiment_branch(res, repo, branch, baseline, **kwargs):
exp.update(collected_exp)
else:
exp = collected_exp
res[rev] = exp
if rev not in res:
res[rev] = exp
prev = rev
if len(revs) > 1:
res[prev]["checkpoint_parent"] = baseline
Expand Down

0 comments on commit b3a3280

Please sign in to comment.