def get_name(self):
        """Get name using taxid"""
        if len(self.taxid2asscs) == 1:
            return '{BASE}_{TAXID}'.format(
                BASE=self.name, TAXID=next(iter(self.taxid2asscs.keys())))
        return '{BASE}_various'.format(BASE=self.name)
def get_name ( self ) : if len ( self . taxid2asscs ) == 1 : return '{BASE}_{TAXID}' . format ( BASE = self . name , TAXID = next ( iter ( self . taxid2asscs . keys ( ) ) ) ) return '{BASE}_various' . format ( BASE = self . name )
Get name using taxid