Did I find the right examples for you? yes no

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

src/c/o/cogent-1.5.3/cogent/parse/structure.py   cogent(Download)
import xml.dom.minidom
from cogent.parse import pdb
from cogent.parse.sequence import format_from_filename
from cogent.parse.record import FileFormatError
 
        - format: the structure file format
    """
    format = format_from_filename(filename, format)
    f = open(filename, 'U')
    return FromFileStructureParser(f, format, **kw)

src/p/y/pycogent-HEAD/cogent/parse/structure.py   pycogent(Download)
import xml.dom.minidom
from cogent.parse import pdb
from cogent.parse.sequence import format_from_filename
from cogent.parse.record import FileFormatError
 
        - format: the structure file format
    """
    format = format_from_filename(filename, format)
    f = open(filename, 'U')
    return FromFileStructureParser(f, format, **kw)