[BioRuby-cvs] bioruby/lib/bio/db newick.rb,1.4,1.5

Naohisa Goto ngoto at dev.open-bio.org
Wed Dec 13 17:29:20 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/db
In directory dev.open-bio.org:/tmp/cvs-serv10199/lib/bio/db

Modified Files:
	newick.rb 
Log Message:
output(:NHX) is changed to output(:nhx)


Index: newick.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/newick.rb,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** newick.rb	13 Dec 2006 16:29:37 -0000	1.4
--- newick.rb	13 Dec 2006 17:29:17 -0000	1.5
***************
*** 199,208 ****
  
      # Returns formatted text (or something) of the tree
!     # Currently supported format is: :newick, :NHX
      def output(format, *arg, &block)
        case format
        when :newick
          output_newick(*arg, &block)
!       when :NHX
          output_nhx(*arg, &block)
        else
--- 199,208 ----
  
      # Returns formatted text (or something) of the tree
!     # Currently supported format is: :newick, :nhx
      def output(format, *arg, &block)
        case format
        when :newick
          output_newick(*arg, &block)
!       when :nhx
          output_nhx(*arg, &block)
        else




More information about the bioruby-cvs mailing list