[BioRuby-cvs] bioruby/lib/bio/db/embl embl.rb,1.22,1.23
Mitsuteru C. Nakao
nakao at pub.open-bio.org
Thu Oct 27 05:34:51 EDT 2005
Update of /home/repository/bioruby/bioruby/lib/bio/db/embl
In directory pub.open-bio.org:/tmp/cvs-serv4100/lib/bio/db/embl
Modified Files:
embl.rb
Log Message:
* Removed a argument in the ft(num) method.
Bio::EMBL#ft no longer accepts any argument.
Index: embl.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/embl/embl.rb,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** embl.rb 23 Oct 2005 09:59:48 -0000 1.22
--- embl.rb 27 Oct 2005 09:34:49 -0000 1.23
***************
*** 229,240 ****
# returns contents in the feature table (FT) lines.
! # * Bio::EMBL#ft -> [ <FT Hash>* ]
! # * Bio::EMBL#ft {} -> {|<FT Hash>| }
! # * Bio::EMBL#ft(Int) -> Hash
#
# same as features method in bio/db/genbank.rb
#
# FT Line; feature table data (>=0)
! def ft(num = nil)
unless @data['FT']
@data['FT'] = Array.new
--- 229,239 ----
# returns contents in the feature table (FT) lines.
! # * Bio::EMBL#ft -> Bio::Features
! # * Bio::EMBL#ft {} -> {|Bio::Feature| }
#
# same as features method in bio/db/genbank.rb
#
# FT Line; feature table data (>=0)
! def ft
unless @data['FT']
@data['FT'] = Array.new
***************
*** 271,276 ****
end
if block_given?
! @data['FT'].each do |feature_table|
! yield feature_table
end
else
--- 270,275 ----
end
if block_given?
! @data['FT'].each do |feature|
! yield feature
end
else
More information about the bioruby-cvs
mailing list