Skip to content

Commit 015ba11

Browse files
#2839: configure RTW to use checked out version of config-user-example.yml
1 parent 03aba96 commit 015ba11

File tree

1 file changed

+4
-1
lines changed
  • esmvaltool/utils/recipe_test_workflow/recipe_test_workflow/app/configure/bin

1 file changed

+4
-1
lines changed

Diff for: esmvaltool/utils/recipe_test_workflow/recipe_test_workflow/app/configure/bin/configure.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
import esmvalcore.experimental as esmvaltool
1717
import yaml
1818

19+
ESMVALTOOL_DIR = os.environ["ESMVALTOOL_DIR"]
20+
LATEST_USER_CONFIG_FILE = os.path.join(ESMVALTOOL_DIR,
21+
"config-user-example.yml")
1922
USER_CONFIG_PATH = os.environ["USER_CONFIG_PATH"]
2023

2124

@@ -52,7 +55,7 @@ def get_config_values_from_task_env():
5255
# additional datasets, so may need to be configured in the future.
5356
config_values_from_task_env = {
5457
"auxiliary_data_dir": "",
55-
"config_file": USER_CONFIG_PATH,
58+
"config_file": LATEST_USER_CONFIG_FILE,
5659
"download_dir": "",
5760
"drs": {
5861
"ana4mips": os.environ["DRS_ANA4MIPS"],

0 commit comments

Comments
 (0)