def path_to_loc(p: CWLObjectType) -> None:
    if (('location' not in p) and ('path' in p)):
        p['location'] = p['path']
        del p['path']
def path_to_loc(p: CWLObjectType) -> None:
    if (('location' not in p) and ('path' in p)):
        p['location'] = p['path']
        del p['path']