[BioRuby-cvs] bioruby/lib/bio/appl/blast format0.rb,1.27,1.28

Naohisa Goto ngoto at dev.open-bio.org
Mon May 12 11:25:57 UTC 2008


Update of /home/repository/bioruby/bioruby/lib/bio/appl/blast
In directory dev.open-bio.org:/tmp/cvs-serv4436

Modified Files:
	format0.rb 
Log Message:
The same change as 1.26.2.1 ==> 1.26.2.2: 
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.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** format0.rb	1 Apr 2008 06:31:35 -0000	1.27
--- format0.rb	12 May 2008 11:25:55 -0000	1.28
***************
*** 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