diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-05-10 09:32:02 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-05-10 09:32:02 +0200 |
commit | 56d6603c2a3cd3c8e5a04e52c8f2d7ef6b809830 (patch) | |
tree | abeefafd914355dd08804c63e5158f18bf5d266a /lib/parameters.py | |
parent | b0ffa67141ca17c2c6f48cc2313fdd51d8f1b6e6 (diff) |
analyze-config, to_json: use paramNames in exported json nodes
Diffstat (limited to 'lib/parameters.py')
-rw-r--r-- | lib/parameters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parameters.py b/lib/parameters.py index d5339c5..1f6f8e3 100644 --- a/lib/parameters.py +++ b/lib/parameters.py @@ -525,11 +525,11 @@ class ModelAttribute: mean = np.mean(self.data) return f"ModelAttribute<{self.name}, {self.attr}, mean={mean}>" - def to_json(self): + def to_json(self, **kwargs): ret = { "paramNames": self.param_names, "argCount": self.arg_count, - "modelFunction": self.model_function.to_json(), + "modelFunction": self.model_function.to_json(**kwargs), } return ret |