[BioRuby-cvs] bioruby/lib/bio/appl/blast format0.rb,1.14,1.15
Naohisa Goto
ngoto at pub.open-bio.org
Mon Oct 31 14:22:29 EST 2005
Update of /home/repository/bioruby/bioruby/lib/bio/appl/blast
In directory pub.open-bio.org:/tmp/cvs-serv4445
Modified Files:
format0.rb
Log Message:
In F0dbstat#parse_colon_separated_params, fixed parse error when WU-BLAST.
Index: format0.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/appl/blast/format0.rb,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** format0.rb 31 Oct 2005 11:07:05 -0000 1.14
--- format0.rb 31 Oct 2005 19:22:27 -0000 1.15
***************
*** 343,347 ****
@num_hits = sc[2].tr(',', '').to_i
end
! if sc.skip(/([\-\,\.\'\(\)\w ]+)\: *(.+)/) then
hash[sc[1]] = sc[2]
else
--- 343,347 ----
@num_hits = sc[2].tr(',', '').to_i
end
! if sc.skip(/([\-\,\.\'\(\)\#\w ]+)\: *(.*)/) then
hash[sc[1]] = sc[2]
else
More information about the bioruby-cvs
mailing list