[BioRuby-cvs] bioruby/lib/bio/shell/plugin codon.rb,1.14,1.15
Katayama Toshiaki
k at dev.open-bio.org
Sun Dec 24 08:46:52 UTC 2006
Update of /home/repository/bioruby/bioruby/lib/bio/shell/plugin
In directory dev.open-bio.org:/tmp/cvs-serv9812
Modified Files:
codon.rb
Log Message:
* changed to use Bio::Shell.colors instead of Bio::Shell.esc_seq
Index: codon.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/codon.rb,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** codon.rb 19 Sep 2006 06:17:19 -0000 1.14
--- codon.rb 24 Dec 2006 08:46:50 -0000 1.15
***************
*** 36,50 ****
def setup_colors
! esc_seq = Bio::Shell.esc_seq
@colors = {
! :text => esc_seq[:none],
! :aa => esc_seq[:green],
! :start => esc_seq[:red],
! :stop => esc_seq[:red],
! :basic => esc_seq[:cyan],
! :polar => esc_seq[:blue],
! :acidic => esc_seq[:magenta],
! :nonpolar => esc_seq[:yellow],
}
end
--- 36,50 ----
def setup_colors
! c = Bio::Shell.colors
@colors = {
! :text => c[:none],
! :aa => c[:green],
! :start => c[:red],
! :stop => c[:red],
! :basic => c[:cyan],
! :polar => c[:blue],
! :acidic => c[:magenta],
! :nonpolar => c[:yellow],
}
end
More information about the bioruby-cvs
mailing list