summarize_errors#

pharmpy.tools.summarize_errors(context)[source]#

Summarize errors and warnings from all runs in a context.

Summarize the errors and warnings found after running the model/models.

Parameters:

context (Context) – Context in which models were run

Returns:

pd.DataFrame – A DataFrame of errors with model name, category (error or warning), and an int as index, an empty DataFrame if there were no errors or warnings found.