mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
exp init: suppress plots if live is selected as a stage type
This commit is contained in:
committed by
Saugat Pachhai
parent
8262dbd37c
commit
7b488887b4
@@ -303,11 +303,11 @@ def init(
|
||||
)
|
||||
else:
|
||||
if with_live:
|
||||
# suppress `metrics`/`params` if live is selected, unless
|
||||
# suppress `metrics`/`plots` if live is selected, unless
|
||||
# it is also provided via overrides/cli.
|
||||
# This makes output to be a checkpoint as well.
|
||||
defaults.pop("metrics", None)
|
||||
defaults.pop("params", None)
|
||||
defaults.pop("plots", None)
|
||||
else:
|
||||
defaults.pop("live", None) # suppress live otherwise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user