[Biopython-dev] [Bug 1613] New: pubmed example doesn't work. corrected example included

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Apr 1 18:23:04 EST 2004


http://bugzilla.bioperl.org/show_bug.cgi?id=1613

           Summary: pubmed example doesn't work. corrected example included
           Product: Biopython
           Version: Not Applicable
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: cariaso at yahoo.com


While the bug is small, its enough to scare away new users..

in the cookbook, section 3.3.1
The example is 


from Bio.Medline import PubMed

search_term = 'orchid'
orchid_ids = PubMed.search_for(search_term)


but it doesn't work (for me) that way. however this does work.

from Bio import PubMed

search_term = 'orchid'
orchid_ids = PubMed.search_for(search_term)

just delete the '.Medline'



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