Process results and output them

def process_results(output_dir, config):
    """Process results and output them
    """
    print('\nanalyzing results...\n')
    res = output_results(output_dir, config)
    if res:
        print('created: %s/results.html\n' % output_dir)
    else:
        print('results cannot be processed')