[BioRuby-cvs] bioruby/lib/bio/shell/plugin codon.rb,1.3,1.4

Katayama Toshiaki k at pub.open-bio.org
Thu Nov 24 14:30:10 EST 2005


Update of /home/repository/bioruby/bioruby/lib/bio/shell/plugin
In directory pub.open-bio.org:/tmp/cvs-serv21764/lib/bio/shell/plugin

Modified Files:
	codon.rb 
Log Message:
* global variable $bioruby_config and $bioruby_cache are removed (changed to
  use Bio::Shell::Core::Config & Cache, which have accessor methods like
  Bio::Shell.config(param, value), Bio::Shell.cache(param, value))


Index: codon.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/codon.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** codon.rb	14 Nov 2005 02:01:54 -0000	1.3
--- codon.rb	24 Nov 2005 19:30:08 -0000	1.4
***************
*** 155,159 ****
  
    def codontable(num = 1)
!     cct = ColoredCodonTable.new(num, $bioruby_config[:COLOR])
      display cct.output
      return cct.table
--- 155,159 ----
  
    def codontable(num = 1)
!     cct = ColoredCodonTable.new(num, Bio::Shell.config(:color))
      display cct.output
      return cct.table



More information about the bioruby-cvs mailing list