[BioRuby-cvs] bioruby/lib/bio/appl fasta.rb,1.24,1.25

Katayama Toshiaki k at dev.open-bio.org
Fri May 18 15:22:55 UTC 2007


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

Modified Files:
	fasta.rb 
Log Message:
* bug fix: exec_local fails to exec when @ktup is nil. This problem is
  reported and fixed by Fredrik Johansson. Thanks!


Index: fasta.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/appl/fasta.rb,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** fasta.rb	5 Apr 2007 23:35:39 -0000	1.24
--- fasta.rb	18 May 2007 15:22:52 -0000	1.25
***************
*** 115,119 ****
    def exec_local(query)
      cmd = [ @program, *@options ]
!     cmd.concat([ '@', @db, @ktup ])
  
      report = nil
--- 115,120 ----
    def exec_local(query)
      cmd = [ @program, *@options ]
!     cmd.concat([ '@', @db ])
!     cmd.push(@ktup) if @ktup
  
      report = nil




More information about the bioruby-cvs mailing list