def init_result_info(doi, path, defaults=None):
    """Initialise result info."""
    info = defaults or {}
    info['analysis_complete'] = True
    info['analysis_doi'] = doi
    info['analysis_path'] = path
    return info