def show_process(request, runId, h1, h2):
    context_dict = {}
    try:
        uid = '/'.join([runId, h1, h2])
        proc = Process.objects.get(uid=uid)
        context_dict['process'] = proc
        context_dict['script_lines'] = proc.script.split('\n')
    except Run.DoesNotExist:
        context_dict['process'] = None
    return render(request, 'process.html', context_dict)
def show_process(request, runId, h1, h2):
    context_dict = {}
    try:
        uid = '/'.join([runId, h1, h2])
        proc = Process.objects.get(uid=uid)
        context_dict['process'] = proc
        context_dict['script_lines'] = proc.script.split('\n')
    except Run.DoesNotExist:
        context_dict['process'] = None
    return render(request, 'process.html', context_dict)