[BioRuby-cvs] bioruby/lib/bio/io pubmed.rb,1.16,1.17

Jan Aerts aerts at dev.open-bio.org
Sun Nov 4 11:51:01 UTC 2007


Update of /home/repository/bioruby/bioruby/lib/bio/io
In directory dev.open-bio.org:/tmp/cvs-serv7743

Modified Files:
	pubmed.rb 
Log Message:
Fixed bug #11736: change to pubmed interface (reported by Masahide Kikkawa)


Index: pubmed.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/pubmed.rb,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** pubmed.rb	5 Apr 2007 23:35:41 -0000	1.16
--- pubmed.rb	4 Nov 2007 11:50:59 -0000	1.17
***************
*** 75,80 ****
    # *Returns*:: array of PubMed IDs
    def self.search(str)
!     host = "www.ncbi.nlm.nih.gov"
!     path = "/entrez/query.fcgi?tool=bioruby&cmd=Search&doptcmdl=MEDLINE&db=PubMed&term="
  
      http = Bio::Command.new_http(host)
--- 75,80 ----
    # *Returns*:: array of PubMed IDs
    def self.search(str)
!     host = 'www.ncbi.nlm.nih.gov'
!     path = "sites/entrez?tool=bioruby&cmd=Text&dopt=MEDLINE&db=PubMed&uid="
  
      http = Bio::Command.new_http(host)




More information about the bioruby-cvs mailing list