set_description#

pharmpy.modeling.set_description(model, new_description)[source]#

Set description of model object

Parameters:
  • model (Model) – Pharmpy model

  • new_description (str) – New description of model

Returns:

Model – Pharmpy model object

Example

>>> from pharmpy.modeling import set_description, load_example_model
>>> model = load_example_model("pheno")
>>> model.description
'PHENOBARB SIMPLE MODEL'
>>> model = set_description(model, "PHENOBARB run 2")
>>> model.description
'PHENOBARB run 2'