From 69ce69e42733a472bb0e82489959b859277de1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Wed, 9 Feb 2022 20:36:23 +0545 Subject: [PATCH] exp init: update message --- dvc/repo/experiments/init.py | 4 ++-- tests/func/experiments/test_init.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dvc/repo/experiments/init.py b/dvc/repo/experiments/init.py index 3d14003d2..12ae7e563 100644 --- a/dvc/repo/experiments/init.py +++ b/dvc/repo/experiments/init.py @@ -154,7 +154,7 @@ def init_interactive( styled=True, ) - tree_label = "Experiment project structure:" + tree_label = "Using experiment project structure:" display_workspace_tree(workspace, tree_label, stderr=True) ret.update( compact( @@ -329,7 +329,7 @@ def init( stage.dump(update_lock=False) stage.ignore_outs() if not interactive: - label = "Experiment project structure:" + label = "Using experiment project structure:" display_workspace_tree(context, label) init_deps(stage, log=not interactive) if params: diff --git a/tests/func/experiments/test_init.py b/tests/func/experiments/test_init.py index 6639b1ac4..443ad0e50 100644 --- a/tests/func/experiments/test_init.py +++ b/tests/func/experiments/test_init.py @@ -298,7 +298,7 @@ def test_init_default(tmp_dir, scm, dvc, interactive, overrides, inp, capsys): assert "'data' does not exist, the directory will be created." in err assert not out return - assert "Experiment project structure: " in out + assert "Using experiment project structure: " in out assert "Creating script.py and data" in out @@ -385,7 +385,7 @@ def test_init_interactive_live( assert "'data' does not exist, the directory will be created." in err assert not out return - assert "Experiment project structure: " in out + assert "Using experiment project structure: " in out assert "Creating script.py and data" in out