Skip to content
Snippets Groups Projects
Commit 6140a4b6 authored by lukas leufen's avatar lukas leufen
Browse files

Merge branch 'lukas_issue366_bug_workflow-failure-hpc-test-branch' into...

Merge branch 'lukas_issue366_bug_workflow-failure-hpc-test-branch' into 'lukas_issue359_feat_separate-uncertainty-estimate-for-each-forecast-step'

Resolve "BUG: workflow failure on HPC during clim skill score calcuation"

See merge request !400
parents 3a666309 e130fceb
No related branches found
No related tags found
5 merge requests!430update recent developments,!413update release branch,!412Resolve "release v2.0.0",!400Resolve "BUG: workflow failure on HPC during clim skill score calcuation",!384Resolve "separate uncertainty estimate for each forecast step"
Pipeline #93500 passed
......@@ -21,6 +21,7 @@ version:
artifacts:
name: pages
when: always
expire_in: 1 week
paths:
- badges/
......@@ -54,6 +55,7 @@ tests (from scratch):
artifacts:
name: pages
when: always
expire_in: 1 week
paths:
- badges/
- test_results/
......@@ -107,6 +109,7 @@ tests:
artifacts:
name: pages
when: always
expire_in: 1 week
paths:
- badges/
- test_results/
......@@ -131,6 +134,7 @@ coverage:
artifacts:
name: pages
when: always
expire_in: 1 week
paths:
- badges/
- coverage/
......@@ -155,6 +159,7 @@ sphinx docs:
artifacts:
name: pages
when: always
expire_in: 1 week
paths:
- badges/
- webpage/
......@@ -189,6 +194,7 @@ pages:
artifacts:
name: pages
when: always
expire_in: 1 week
paths:
- public
- badges/
......
......@@ -389,6 +389,10 @@ class ExperimentSetup(RunEnvironment):
self._set_param("neighbors", ["DEBW030"]) # TODO: just for testing
# set competitors
if model_display_name is not None and model_display_name in competitors:
raise IndexError(f"Given model_display_name {model_display_name} is also present in the competitors "
f"variable {competitors}. To assure a proper workflow it is required to have unique names "
f"for each model and competitor. Please use a different model display name or competitor.")
self._set_param("competitors", competitors, default=[])
competitor_path_default = os.path.join(self.data_store.get("data_path"), "competitors",
"_".join(self.data_store.get("target_var")))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment