[Biopython-dev] [Bug 1740] New: change in GenBank.NCBIDictionary()

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Jan 26 17:39:04 EST 2005


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

           Summary: change in GenBank.NCBIDictionary()
           Product: Biopython
           Version: Not Applicable
          Platform: All
               URL: http://www.biopython.org/docs/tutorial/Tutorial004.html#
                    toc13
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: andrea at salilab.org


In the tutorial and cookbook the python statement
>>> ncbi_dict = GenBank.NCBIDictionary() 
should be changed to something like
>>> ncbi_dict = GenBank.NCBIDictionary(database='nucleotide', format = 'genbank')
---
The current statement produce the following error message:

Traceback (most recent call last):
  File "./parse_pfam.py", line 234, in ?
    main()
  File "./parse_pfam.py", line 228, in main
    example_genbank()
  File "./parse_pfam.py", line 150, in example_genbank
    ncbi_dict = GenBank.NCBIDictionary()
TypeError: __init__() takes at least 3 arguments (1 given)
---
This is my first bug I ever submitted. ;-) Hope the format is fine! ;-)

Andrea



------- 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