def __init__(self, names, value=None):
    if isinstance(names, list):
        nameList = names
    else:
        nameList = [names]
    for name in nameList:
        assert (' ' not in name.strip()), (("Gene names cannot contain spaces: '" + name) + "'")
    super(Gene, self).__init__(names, value)
def __init__(self, names, value=None):
    if isinstance(names, list):
        nameList = names
    else:
        nameList = [names]
    for name in nameList:
        assert (' ' not in name.strip()), (("Gene names cannot contain spaces: '" + name) + "'")
    super(Gene, self).__init__(names, value)