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

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

src/b/i/biopython-1.63/Bio/SeqIO/__init__.py   biopython(Download)
    #Map the file format to a sequence iterator:
    from ._index import _FormatToRandomAccess # Lazy import
    from Bio.File import _IndexedSeqFileDict
    try:
        proxy_class = _FormatToRandomAccess[format]
    except KeyError:
        raise ValueError("Unsupported format %r" % format)
    repr = "SeqIO.index(%r, %r, alphabet=%r, key_function=%r)" \
        % (filename, format, alphabet, key_function)
    return _IndexedSeqFileDict(proxy_class(filename, format, alphabet),

src/b/i/biopython-1.63/Bio/SearchIO/__init__.py   biopython(Download)
        raise TypeError("Need a filename (not a handle)")
 
    from Bio.File import _IndexedSeqFileDict
    proxy_class = get_processor(format, _INDEXER_MAP)
    repr = "SearchIO.index(%r, %r, key_function=%r)" \
        % (filename, format, key_function)
    return _IndexedSeqFileDict(proxy_class(filename, **kwargs),

src/b/i/biopython-HEAD/Bio/SeqIO/__init__.py   biopython(Download)
    #Map the file format to a sequence iterator:
    from ._index import _FormatToRandomAccess # Lazy import
    from Bio.File import _IndexedSeqFileDict
    try:
        proxy_class = _FormatToRandomAccess[format]
    except KeyError:
        raise ValueError("Unsupported format %r" % format)
    repr = "SeqIO.index(%r, %r, alphabet=%r, key_function=%r)" \
        % (filename, format, alphabet, key_function)
    return _IndexedSeqFileDict(proxy_class(filename, format, alphabet),

src/b/i/biopython-HEAD/Bio/SearchIO/__init__.py   biopython(Download)
        raise TypeError("Need a filename (not a handle)")
 
    from Bio.File import _IndexedSeqFileDict
    proxy_class = get_processor(format, _INDEXER_MAP)
    repr = "SearchIO.index(%r, %r, key_function=%r)" \
        % (filename, format, key_function)
    return _IndexedSeqFileDict(proxy_class(filename, **kwargs),