diff options
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 |