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

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)

src/b/i/biopython-1.63/Bio/Restriction/Restriction.py   biopython(Download)
from __future__ import print_function
from Bio._py3k import zip
from Bio._py3k import filter
from Bio._py3k import range
 
        the new batch will contains only the enzymes for which
        func return True."""
        d = [x for x in filter(func, self)]
        new = RestrictionBatch()
        new._data = dict(zip(d, [True]*len(d)))
                    continue
            return True
        d = [k for k in filter(splittest, self)]
        new = RestrictionBatch()
        new._data = dict(zip(d, [True]*len(d)))

src/b/i/biopython-HEAD/Bio/Restriction/Restriction.py   biopython(Download)
from __future__ import print_function
from Bio._py3k import zip
from Bio._py3k import filter
from Bio._py3k import range
 
        the new batch will contains only the enzymes for which
        func return True."""
        d = [x for x in filter(func, self)]
        new = RestrictionBatch()
        new._data = dict(zip(d, [True]*len(d)))
                    continue
            return True
        d = [k for k in filter(splittest, self)]
        new = RestrictionBatch()
        new._data = dict(zip(d, [True]*len(d)))

src/b/i/biopython-1.63/Bio/Phylo/BaseTree.py   biopython(Download)
 
from Bio._py3k import zip
from Bio._py3k import filter
from Bio._py3k import basestring
from Bio._py3k import unicode
            get_children = lambda elem: elem.clades
            root = self.root
        return filter(filter_func, order_func(root, get_children))
 
    def find_any(self, *args, **kwargs):

src/b/i/biopython-HEAD/Bio/Phylo/BaseTree.py   biopython(Download)
 
from Bio._py3k import zip
from Bio._py3k import filter
from Bio._py3k import basestring
from Bio._py3k import unicode
            get_children = lambda elem: elem.clades
            root = self.root
        return filter(filter_func, order_func(root, get_children))
 
    def find_any(self, *args, **kwargs):

src/b/i/biopython-1.63/Bio/SearchIO/_model/query.py   biopython(Download)
 
from Bio._py3k import OrderedDict
from Bio._py3k import filter
 
from Bio._utils import trim_str
 
        """
        hits = list(filter(func, self.hits))
        obj = self.__class__(hits, self.id, self._hit_key_function)
        self._transfer_attrs(obj)

src/b/i/biopython-HEAD/Bio/SearchIO/_model/query.py   biopython(Download)
 
from Bio._py3k import OrderedDict
from Bio._py3k import filter
 
from Bio._utils import trim_str
 
        """
        hits = list(filter(func, self.hits))
        obj = self.__class__(hits, self.id, self._hit_key_function)
        self._transfer_attrs(obj)

src/b/i/biopython-1.63/Bio/SearchIO/_model/hit.py   biopython(Download)
from itertools import chain
 
from Bio._py3k import filter
 
from Bio._utils import getattr_str, trim_str

src/b/i/biopython-HEAD/Bio/SearchIO/_model/hit.py   biopython(Download)
from itertools import chain
 
from Bio._py3k import filter
 
from Bio._utils import getattr_str, trim_str