Skip to content

Commit

Permalink
add aliases for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sarangbhagwat committed Nov 1, 2024
1 parent 7c28823 commit d181871
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions biosteam/evaluation/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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
_ipython_display_ = show

EasyInputModel = Model
Model.load_parameter_distributions = Model.parameters_from_df

0 comments on commit d181871

Please sign in to comment.