Returns a ``string`` of the winning team's name, such as 'Purdue
        Boilermakers'.
178157
def winning_name(self):
        
        if self.winner == HOME:
            if 'cbb/schools' not in str(self._home_name):
                return str(self._home_name)
            return self._home_name.text()
        if 'cbb/schools' not in str(self._away_name):
            return str(self._away_name)
        return self._away_name.text()
425737
def away_abbreviation(self):
        
        abbr = re.sub(r'.*/teams/', '', str(self._away_name))
        abbr = re.sub(r'/.*', '', abbr)
        return abbr
389805
def get_scientific_name(self):
        '''  '''
        genus = self.genus_builder.get_word()
        species = self.species_builder.get_word()
        return '%s %s' % (genus, species)
692720
def current(self):
        
        rankings_dict = {}

        for team in self.current_extended:
            rankings_dict[team['abbreviation']] = team['rank']
        return rankings_dict
253950
def get_name(self, name):
        """"""
        if name not in self.get_names():
            raise exceptions.NameNotFoundError('name %s not found' % name)
        return self.get_names()[name]
349810
private static String extractName(Class<?> clazz){
		String name = clazz.getName();
		if (name==null)
			name = "";
		int indexOfDot = name.lastIndexOf('.');
		return indexOfDot == -1 ? name : name.substring(indexOfDot+1);
	}
725258
def label(self):
        
        group_names = sorted([m.player_name for m in self.members])
        return ", ".join(group_names)
676054
def get_loco_name(self):
        
        ret_str = self.dll.GetLocoName().decode()
        if not ret_str:
            return
        return ret_str.split('.:.')
21308
def display_name(self):
        """"""
        if self.is_snv:
            gene_ids = self.gene_symbols[:2]
            return ', '.join(gene_ids)
        else:
            return "{this.cytoband_start} ({this.sv_len})".format(this=self)
1133452
def name(self):
        """"""
        if self._name:
            return self._name
        return self.code.replace('_', ' ').capitalize()
181424
def team_info():
    """"""
    teams = __get_league_object().find('teams').findall('team')
    output = []
    for team in teams:
        info = {}
        for x in team.attrib:
            info[x] = team.attrib[x]
        output.append(info)
    return output
1172309
def hostname_text(self):
        """"""
        if self._hostname_text is None:
            self.chain.connection.log("Collecting hostname information")
            self._hostname_text = self.driver.get_hostname_text()
            if self._hostname_text:
                self.chain.connection.log("Hostname info collected")
            else:
                self.chain.connection.log("Hostname info not collected")
        return self._hostname_text
919788
public String getName()
    {
        if (_name==null)
        {
            _name=this.getClass().getName();
            if (!log.isDebugEnabled())
                _name=_name.substring(_name.lastIndexOf('.')+1);
        }
        return _name;
    }
542398
def full_name(self):
        """"""
        if self.prefix is not None:
            return '.'.join([self.prefix, self.member])
        return self.member
164160
def get_grp_name(self, code):
        """"""
        nt_code = self.code2nt.get(code.strip(), None)
        if nt_code is not None:
            return nt_code.group, nt_code.name
        return "", ""
1132536
def teams(self):
        """"""
        teams = {}
        default_team = 1
        for i in range(1, self._header.replay.num_players):
            attributes = self._header.initial.players[i].attributes
            team = self._header.lobby.teams[i - 1]
            if team == 1:
                team = default_team
                default_team += 1
            if team not in teams:
                teams[team] = {'player_numbers': []}
            teams[team]['player_numbers'].append(attributes.player_color + 1)
        return list(teams.values())
601555
def team_abbreviation(self):
        
        # For career stats, skip the team abbreviation.
        if self._season[self._index].lower() == 'career':
            return None
        return self._team_abbreviation[self._index]