summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-26 16:20:39 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-26 16:20:39 +0100
commit112ebbe21ff330c68faf883b125ba4932e007544 (patch)
tree3a083ac80c7af96b9c2cbc356736cd5f07236aa6 /lib
parentb89d1defee4bb8a93164b3b717d67c317d8e1db5 (diff)
add RMT_SUBMODEL=cart
Diffstat (limited to 'lib')
-rw-r--r--lib/parameters.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/parameters.py b/lib/parameters.py
index 521ab86..0b0da81 100644
--- a/lib/parameters.py
+++ b/lib/parameters.py
@@ -1234,7 +1234,10 @@ class ModelAttribute:
param_type=self.param_type,
codependent_param=codependent_param_dict(parameters),
)
- if submodel == "symreg":
+ if submodel == "cart":
+ if ma.build_cart():
+ return ma.model_function
+ elif submodel == "symreg":
if ma.build_symreg():
return ma.model_function
else:
@@ -1278,7 +1281,10 @@ class ModelAttribute:
param_type=self.param_type,
codependent_param=codependent_param_dict(parameters),
)
- if submodel == "symreg":
+ if submodel == "cart":
+ if ma.build_cart():
+ return ma.model_function
+ elif submodel == "symreg":
if ma.build_symreg():
return ma.model_function
else: