[Biopython-dev] [Bug 1678] New: NCBIXML error in 1.30

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Fri Aug 13 08:41:25 EDT 2004


http://bugzilla.open-bio.org/show_bug.cgi?id=1678

           Summary: NCBIXML error in 1.30
           Product: Biopython
           Version: Not Applicable
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: d.lapointe at comcast.net


Running Betrtands script generates an error at line 111 of NCBIXML.py that
filename is not defined globally. 'filename' should be changed to 'handler'
...
   def parse(self, handler):
        """Parses the XML data

        handler -- file handler or StringIO
        '''
        self._parser.parse(filename)       <=== line 111
        return self._blast


should read
        self._parser.parse(handler)

I changed this in my source and it worked fine.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list