def make_protein_arrow_color_dict(self, query_names):

        '''
        Generates a random color for all proteins in query_names,
        stores these in a dict.
        '''

        protein_arrow_color_dict = dict()

        for protein in self.query_names:
            protein_arrow_color_dict[protein] = (random(), random(), random())

        return protein_arrow_color_dict
def make_protein_arrow_color_dict ( self , query_names ) : protein_arrow_color_dict = dict ( ) for protein in self . query_names : protein_arrow_color_dict [ protein ] = ( random ( ) , random ( ) , random ( ) ) return protein_arrow_color_dict
Generates a random color for all proteins in query_names,
        stores these in a dict.