[BioRuby-cvs] bioruby/lib/bio/db/genbank common.rb, 1.5, 1.6 genbank.rb, 0.33, 0.34 genpept.rb, 1.6, 1.7

Katayama Toshiaki k at pub.open-bio.org
Mon Sep 26 09:00:09 EDT 2005


Update of /home/repository/bioruby/bioruby/lib/bio/db/genbank
In directory pub.open-bio.org:/tmp/cvs-serv17319/lib/bio/db/genbank

Modified Files:
	common.rb genbank.rb genpept.rb 
Log Message:
* 'alias :foo :bar' is changed to 'alias foo bar'


Index: genpept.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/genbank/genpept.rb,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** genpept.rb	23 Aug 2004 23:40:35 -0000	1.6
--- genpept.rb	26 Sep 2005 13:00:07 -0000	1.7
***************
*** 57,62 ****
      Bio::Sequence::AA.new(@data['SEQUENCE'])
    end
!   alias :aaseq :seq
!   alias :aalen :seq_len
  
  
--- 57,62 ----
      Bio::Sequence::AA.new(@data['SEQUENCE'])
    end
!   alias aaseq seq
!   alias aalen seq_len
  
  

Index: genbank.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/genbank/genbank.rb,v
retrieving revision 0.33
retrieving revision 0.34
diff -C2 -d -r0.33 -r0.34
*** genbank.rb	24 Sep 2005 01:16:22 -0000	0.33
--- genbank.rb	26 Sep 2005 13:00:07 -0000	0.34
***************
*** 73,78 ****
      Bio::Sequence::NA.new(@data['SEQUENCE'])
    end
!   alias :naseq :seq
!   alias :nalen :seq_len
  
  
--- 73,78 ----
      Bio::Sequence::NA.new(@data['SEQUENCE'])
    end
!   alias naseq seq
!   alias nalen seq_len
  
  
***************
*** 128,132 ****
    begin
      require 'pp'
!     alias :p :pp
    rescue LoadError
    end
--- 128,132 ----
    begin
      require 'pp'
!     alias p pp
    rescue LoadError
    end

Index: common.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/genbank/common.rb,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** common.rb	24 Sep 2005 01:16:22 -0000	1.5
--- common.rb	26 Sep 2005 13:00:07 -0000	1.6
***************
*** 115,119 ****
      source['common_name']
    end
!   alias :varnacular_name :common_name
  
    def organism
--- 115,119 ----
      source['common_name']
    end
!   alias varnacular_name common_name
  
    def organism



More information about the bioruby-cvs mailing list