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

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

src/b/i/biopython-1.63/Tests/test_TogoWS.py   biopython(Download)
    def test_pubmed(self):
        """Check supported fields for pubmed database"""
        fields = set(TogoWS._get_entry_fields("pubmed"))
        self.assertTrue(fields.issuperset(['abstract', 'au', 'authors',
                                           'doi', 'mesh', 'so',
                                           'title']), fields)
 
    def test_ncbi_protein(self):
        """Check supported fields for NCBI protein database"""
        fields = set(TogoWS._get_entry_fields("ncbi-protein"))
    def test_ddbj(self):
        """Check supported fields for ddbj database"""
        fields = set(TogoWS._get_entry_fields("ddbj"))
        self.assertTrue(fields.issuperset(['entry_id', 'length', 'strand',
                                           'moltype', 'linearity', 'division',
    def test_embl(self):
        """Check supported fields for embl database"""
        fields = set(TogoWS._get_entry_fields("embl"))
        self.assertTrue(fields.issuperset(["definition", "entry_id", "seq"]),
                        fields)
 
    def test_uniprot(self):
        """Check supported fields for uniprot database"""
        fields = set(TogoWS._get_entry_fields("uniprot"))

src/b/i/biopython-HEAD/Tests/test_TogoWS.py   biopython(Download)
    def test_pubmed(self):
        """Check supported fields for pubmed database"""
        fields = set(TogoWS._get_entry_fields("pubmed"))
        self.assertTrue(fields.issuperset(['abstract', 'au', 'authors',
                                           'doi', 'mesh', 'so',
                                           'title']), fields)
 
    def test_ncbi_protein(self):
        """Check supported fields for NCBI protein database"""
        fields = set(TogoWS._get_entry_fields("ncbi-protein"))
    def test_ddbj(self):
        """Check supported fields for ddbj database"""
        fields = set(TogoWS._get_entry_fields("ddbj"))
        self.assertTrue(fields.issuperset(['entry_id', 'length', 'strand',
                                           'moltype', 'linearity', 'division',
    def test_embl(self):
        """Check supported fields for embl database"""
        fields = set(TogoWS._get_entry_fields("embl"))
        self.assertTrue(fields.issuperset(["definition", "entry_id", "seq"]),
                        fields)
 
    def test_uniprot(self):
        """Check supported fields for uniprot database"""
        fields = set(TogoWS._get_entry_fields("uniprot"))