read_model#
- pharmpy.modeling.read_model(path, missing_data_token=None)[source]#
Read model from file
- Parameters:
path (str or Path) – Path to model
missing_data_token (str) – Use this token for missing data. This option will override the token from the config. (This option was added in Pharmpy version 1.2.0)
- Returns:
Model – Read model object
Example
>>> from pharmpy.modeling import read_model >>> model = read_model("/home/run1.mod")
See also
read_model_from_database
Read model from database
read_model_from_string
Read model from string