[BioRuby-cvs] bioruby/lib/bio/db/kegg keggtab.rb,1.6,1.7

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


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

Modified Files:
	keggtab.rb 
Log Message:
* 'alias :foo :bar' is changed to 'alias foo bar'


Index: keggtab.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/kegg/keggtab.rb,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** keggtab.rb	8 Sep 2005 01:22:11 -0000	1.6
--- keggtab.rb	26 Sep 2005 13:00:07 -0000	1.7
***************
*** 48,53 ****
          end
          attr_reader :name, :type, :path, :abbrev, :aliases
!         alias :korg :abbrev
!         alias :keggorg :abbrev
        end
  
--- 48,53 ----
          end
          attr_reader :name, :type, :path, :abbrev, :aliases
!         alias korg abbrev
!         alias keggorg abbrev
        end
  
***************
*** 151,157 ****
          end
        end
!       alias :taxo2keggorgs  :taxo2korgs
!       alias :taxon2korgs    :taxo2korgs
!       alias :taxon2keggorgs :taxo2korgs
  
        def korg2taxo(keggorg)
--- 151,157 ----
          end
        end
!       alias taxo2keggorgs  taxo2korgs
!       alias taxon2korgs    taxo2korgs
!       alias taxon2keggorgs taxo2korgs
  
        def korg2taxo(keggorg)
***************
*** 169,175 ****
          return tmp
        end
!       alias :keggorg2taxo     :korg2taxo
!       alias :korg2taxonomy    :korg2taxo
!       alias :keggorg2taxonomy :korg2taxo
  
  
--- 169,175 ----
          return tmp
        end
!       alias keggorg2taxo     korg2taxo
!       alias korg2taxonomy    korg2taxo
!       alias keggorg2taxonomy korg2taxo
  
  
***************
*** 218,222 ****
    begin
      require 'pp'
!     alias :p :pp
    rescue LoadError
    end
--- 218,222 ----
    begin
      require 'pp'
!     alias p pp
    rescue LoadError
    end



More information about the bioruby-cvs mailing list