[Biopython-dev] nodes in Martel tree

Cayte katel at worldpath.net
Tue Apr 24 03:28:18 EDT 2001


From: "Andrew Dalke" <dalke at acm.org>
> It's hard to evaluate that without the full format definition.  I

Its mostly the same format I already sent, except for small changes.  The
code traverses the tree just fine.  The problem seems to occur in
_do_callback in Martel.Parser.py.  It doesn't seem to get to the true branch
in
        if begin < l:
            cont_handler.characters(s[begin:l])

Later, it takes the true branch in

        if subtags:
            _do_callback(s, l, r, subtags, cont_handler)
        else:
            cont_handler.characters(s[l:r])

Thank you for your time.
                               Cayte





More information about the Biopython-dev mailing list