From d181871c1c269376054972c7dc17e60bbd602f42 Mon Sep 17 00:00:00 2001 From: sarangbhagwat Date: Thu, 31 Oct 2024 22:05:22 -0500 Subject: [PATCH] add aliases for backward compatibility --- biosteam/evaluation/_model.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/biosteam/evaluation/_model.py b/biosteam/evaluation/_model.py index 859289d0..1a68a807 100644 --- a/biosteam/evaluation/_model.py +++ b/biosteam/evaluation/_model.py @@ -30,7 +30,7 @@ from .evaluation_tools import load_default_parameters import pickle -__all__ = ('Model',) +__all__ = ('Model', 'EasyInputModel') def replace_nones(values, replacement): for i, j in enumerate(values): @@ -1370,4 +1370,7 @@ def _info(self, p, m): def show(self, p=None, m=None): """Return information on p-parameters and m-metrics.""" print(self._info(p, m)) - _ipython_display_ = show \ No newline at end of file + _ipython_display_ = show + +EasyInputModel = Model +Model.load_parameter_distributions = Model.parameters_from_df