def parseOut(out):
    """ Parses the output of a job-array submission.
    Arguments:
        out (str) : Output from sbatch to parse.
    """
    h = 'Submitted batch job '
    out = out.split('\n')
    p = [line for line in out if h in line]
    return [line.replace(h, '') for line in p]