[BioRuby-cvs] bioruby/lib/bio/db medline.rb,1.10,1.11
Katayama Toshiaki
k at pub.open-bio.org
Sun Aug 7 04:13:45 EDT 2005
Update of /home/repository/bioruby/bioruby/lib/bio/db
In directory pub.open-bio.org:/tmp/cvs-serv18029/lib/bio/db
Modified Files:
medline.rb
Log Message:
* publication_type method is added
Index: medline.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/medline.rb,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** medline.rb 8 Feb 2004 00:30:54 -0000 1.10
--- medline.rb 7 Aug 2005 08:13:42 -0000 1.11
***************
*** 2,6 ****
# bio/db/medline.rb - NCBI PubMed/MEDLINE database class
#
! # Copyright (C) 2001 KATAYAMA Toshiaki <k at bioruby.org>
#
# This library is free software; you can redistribute it and/or
--- 2,6 ----
# bio/db/medline.rb - NCBI PubMed/MEDLINE database class
#
! # Copyright (C) 2001, 2005 KATAYAMA Toshiaki <k at bioruby.org>
#
# This library is free software; you can redistribute it and/or
***************
*** 262,265 ****
--- 262,269 ----
# PT - Publication Type
# The type of material the article represents.
+ def pt
+ @pubmed['PT'].strip.split(/\n/)
+ end
+ alias publication_type pt
# RF - Number of References
More information about the bioruby-cvs
mailing list