def get_pub_set(cls, name):
    """ Returns standard pub/nonpub set name given a name. """
    if name == 'public':
        return 'public-good'
    elif name == 'nonpub':
        return 'nonpub-all'
    elif name == 'both':
        return 'both-goodall'
    elif name == 'nonpub-good':
        return 'nonpub-all'
    elif name == 'nonpub-bad':
        return 'nonpub-all'
    elif name == 'both-good':
        return 'both-goodall'
    elif name == 'both-bad':
        return 'both-badall'
    elif name in cls.pub_set_names:
        return name
    else:
        return cls.pub_set_default
