def convert_run_to_newstyle(run):
    """
    Converts a saved run result to include the parameters.

    Parameters
    ----------
    run : :py:meth:`~batchpy.run.Run` object or child class
        The run to convert the result from.

    """
    res = run.load()
    if res is not None:
        run._save(res)
