[BioRuby-cvs] bioruby/lib/bio/appl/mafft report.rb,1.9,1.10

Naohisa Goto ngoto at dev.open-bio.org
Thu Dec 14 15:22:07 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/appl/mafft
In directory dev.open-bio.org:/tmp/cvs-serv13804/lib/bio/appl/mafft

Modified Files:
	report.rb 
Log Message:
Bio::(ClustalW|MAFFT)::Report#algin is deprecated.
Instead, please use #alignment method.


Index: report.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/appl/mafft/report.rb,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** report.rb	30 Apr 2006 05:50:19 -0000	1.9
--- report.rb	14 Dec 2006 15:22:05 -0000	1.10
***************
*** 67,76 ****
  
        # Gets an multiple alignment.
!       # Returns an instance of Bio::Alignment class.
!       def align
          do_parse() unless @align
          @align
        end
!       alias alignment align
  
        # Gets an fasta-format string of the sequences.
--- 67,84 ----
  
        # Gets an multiple alignment.
!       # Returns a Bio::Alignment object.
!       def alignment
          do_parse() unless @align
          @align
        end
! 
!       # This will be deprecated. Instead, please use alignment.
!       #
!       # Gets an multiple alignment.
!       # Returns a Bio::Alignment object.
!       def align
!         warn "align method will be deprecated. Please use \'alignment\'."
!         alignment
!       end
  
        # Gets an fasta-format string of the sequences.
***************
*** 79,83 ****
        # Please refer to Bio::Alignment#to_fasta for arguments.
        def to_fasta(*arg)
!         align.to_fasta(*arg)
        end
  
--- 87,91 ----
        # Please refer to Bio::Alignment#to_fasta for arguments.
        def to_fasta(*arg)
!         alignment.to_fasta(*arg)
        end
  




More information about the bioruby-cvs mailing list