[BioRuby] FASTA problem
Toshiaki Katayama
ktym at hgc.jp
Fri May 18 15:23:41 UTC 2007
Hello Fredrik,
Thank you for your fix!
I have commited your patch to the CVS.
Regards,
Toshiaki Katayama
On 2007/05/18, at 10:17, Fredrik Johansson wrote:
> Hello,
> I had problem running a fasta search locally on my computer, and it
> turned out that Kernel.exec(*cmd) is not very happy to get the array cmd
> with nil as one of its element. This is however what happens in
> bio/app/fasta.rb, if ktup is not set. I changed this to make it work :
>
> --- fasta.rb.old 2007-05-18 09:55:01.000000000 +0900
> +++ fasta.rb 2007-05-18 09:55:37.000000000 +0900
> @@ -114,7 +114,8 @@
>
> def exec_local(query)
> cmd = [ @program, *@options ]
> - cmd.concat([ '@', @db, @ktup ])
> + cmd.concat([ '@', @db])
> + cmd.push(@ktup) if @ktup
>
> report = nil
>
> Something to submit to the repository?
>
> Best regards,
> Fredrik
>
> _______________________________________________
> BioRuby mailing list
> BioRuby at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioruby
More information about the BioRuby
mailing list