def getBands(x):
    """Get the bands from the list-string."""

    return (
        x.replace('"', "")
        .replace("'", "")
        .replace(" ", "")
        .replace("[", "")
        .replace("]", "")
        .split(",")
    )