[BioRuby-cvs] bioruby/test/unit/bio test_alignment.rb,1.6,1.7

Naohisa Goto ngoto at pub.open-bio.org
Tue Jan 24 09:11:37 EST 2006


Update of /home/repository/bioruby/bioruby/test/unit/bio
In directory pub.open-bio.org:/tmp/cvs-serv22914

Modified Files:
	test_alignment.rb 
Log Message:
changed Bio::Sequence to Bio::Sequence::NA due to the change of
Bio::Sequence.


Index: test_alignment.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/test_alignment.rb,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** test_alignment.rb	2 Dec 2005 13:01:49 -0000	1.6
--- test_alignment.rb	24 Jan 2006 14:11:34 -0000	1.7
***************
*** 520,529 ****
  
      def test_alignment_subseq
!       a = A[ Sequence.new('a'), Sequence.new('at'), Sequence.new('atgca'),
!         Sequence.new('atg'), Sequence.new('') ]
!       assert_equal(Alignment::SequenceArray[ Sequence.new(''),
!                      Sequence.new('t'), Sequence.new('tgc'),
!                      Sequence.new('tg'), nil ],
!                    a.alignment_subseq(2,4))
      end
  
--- 520,537 ----
  
      def test_alignment_subseq
!       a = A[
!         Sequence::NA.new('a'),
!         Sequence::NA.new('at'),
!         Sequence::NA.new('atgca'),
!         Sequence::NA.new('atg'),
!         Sequence::NA.new('')
!       ]
!       assert_equal(Alignment::SequenceArray[
!                      Sequence::NA.new(''),
!                      Sequence::NA.new('t'),
!                      Sequence::NA.new('tgc'),
!                      Sequence::NA.new('tg'),
!                      nil
!                    ], a.alignment_subseq(2,4))
      end
  



More information about the bioruby-cvs mailing list