_pretty_print_results#

petpal.cli.cli_reference_tissue_models._pretty_print_results(vals: dict, errs: dict) None#

Formats and prints the analysis results to the console.

This helper function creates a pretty, human-readable formatted string of the parameter names, their fitted values, standard errors, and percentage errors, and then prints this formatted string to the console.

Parameters:
  • vals (dict) – A dictionary where the keys are the parameter names and the values are fitted values.

  • errs (dict) – A dictionary where the keys are the parameter names and the values are standard errors.

Returns:

None

Side Effects:

Prints the formatted result string to the console.

Raises:

KeyError – If the keys of ‘vals’ and ‘errs’ do not match.