summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2023-11-13 14:00:31 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2023-11-13 14:00:31 +0100
commitd71cc09928bcc1a14b76eeef844d6d0f7960202e (patch)
treedfd6c3b4ba03ec98695de2dbcf69a983e32e3a53 /lib
parent442f3aab75c742d4177912e9f0bcdac8a6ca1e9f (diff)
move --function-override to lib/cli.py
Diffstat (limited to 'lib')
-rw-r--r--lib/cli.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cli.py b/lib/cli.py
index 17e7b29..0114423 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -313,6 +313,14 @@ def add_standard_arguments(parser):
type=str,
help="Ignore listed parameters during model generation",
)
+ parser.add_argument(
+ "--function-override",
+ metavar="<name> <attribute> <function>[;<name> <attribute> <function>;...]",
+ type=str,
+ help="Manually specify the function to fit for <name> <attribute>. "
+ "A function specified this way bypasses parameter detection: "
+ "It is always assigned, even if the model seems to be independent of the parameters it references.",
+ )
def parse_shift_function(param_name, param_shift):