[BioRuby-cvs] bioruby/lib/bio/appl/blast format0.rb, 1.26.2.1, 1.26.2.2
Naohisa Goto
ngoto at dev.open-bio.org
Mon May 12 11:16:19 UTC 2008
Update of /home/repository/bioruby/bioruby/lib/bio/appl/blast
In directory dev.open-bio.org:/tmp/cvs-serv4387/lib/bio/appl/blast
Modified Files:
Tag: BRANCH-biohackathon2008
format0.rb
Log Message:
Bug fix: Bio::Blast::Default::Report#eff_space returns wrong value
("Effective length of database"). It should return "Effective search space".
Index: format0.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/appl/blast/format0.rb,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.2
diff -C2 -d -r1.26.2.1 -r1.26.2.2
*** format0.rb 12 May 2008 09:52:15 -0000 1.26.2.1
--- format0.rb 12 May 2008 11:16:17 -0000 1.26.2.2
***************
*** 388,392 ****
#@db_num = @hash['Number of Sequences'] unless defined?(@db_num)
#@db_len = @hash['length of database'] unless defined?(@db_len)
! if val = @hash['effective length of database'] then
@eff_space = val.tr(',', '').to_i
end
--- 388,392 ----
#@db_num = @hash['Number of Sequences'] unless defined?(@db_num)
#@db_len = @hash['length of database'] unless defined?(@db_len)
! if val = @hash['effective search space'] then
@eff_space = val.tr(',', '').to_i
end
More information about the bioruby-cvs
mailing list