def munge_hold_arg(hold_arg):
    """Takes the --hold parameter and translates it for SLURM
    """
    if ':' in hold_arg:
        #pass it as-is
        return hold_arg
    else:
        return 'afterok:' + ':'.join([str(int(j)) for j in hold_arg.split(',')])