Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/b/i/biopython-1.63/Bio/Graphics/BasicChromosome.py   biopython(Download)
                    #Mimic the GenomeDiagram code
                    color = _color_trans.artemis_color(
                                             f.qualifiers['color'][0])
                except:
                    color = self.default_feature_color

src/b/i/biopython-HEAD/Bio/Graphics/BasicChromosome.py   biopython(Download)
                    #Mimic the GenomeDiagram code
                    color = _color_trans.artemis_color(
                                             f.qualifiers['color'][0])
                except:
                    color = self.default_feature_color

src/b/i/biopython-1.63/Tests/test_GenomeDiagram.py   biopython(Download)
        assert translator.int255_color((1, 75, 240)) == translator.translate((1, 75, 240)), \
            "Did not correctly translate colour from integer RGB tuple"
        assert translator.artemis_color(7) == translator.translate(7), \
            "Did not correctly translate colour from Artemis colour scheme"
        assert translator.scheme_color(2) == translator.translate(2), \

src/b/i/biopython-HEAD/Tests/test_GenomeDiagram.py   biopython(Download)
        assert translator.int255_color((1, 75, 240)) == translator.translate((1, 75, 240)), \
            "Did not correctly translate colour from integer RGB tuple"
        assert translator.artemis_color(7) == translator.translate(7), \
            "Did not correctly translate colour from Artemis colour scheme"
        assert translator.scheme_color(2) == translator.translate(2), \