[BioRuby-cvs] bioruby/lib/bio/shell/plugin entry.rb,1.6,1.7

Katayama Toshiaki k at pub.open-bio.org
Tue Feb 14 13:46:45 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/shell/plugin
In directory pub.open-bio.org:/tmp/cvs-serv17649/lib/bio/shell/plugin

Modified Files:
	entry.rb 
Log Message:
* Bio::Sequence.auto(str) is changed to return Bio::Sequence object
  instead of NA or AA object
* Bio::Sequence#auto is added to replace the value of @seq with
  guessed type of Bio::Sequence::?A object


Index: entry.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/entry.rb,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** entry.rb	9 Feb 2006 20:48:53 -0000	1.6
--- entry.rb	14 Feb 2006 13:46:43 -0000	1.7
***************
*** 41,45 ****
  
      if tmp and tmp.is_a?(String) and not tmp.empty?
!       seq = Bio::Sequence.auto(tmp)
      end
      return seq
--- 41,45 ----
  
      if tmp and tmp.is_a?(String) and not tmp.empty?
!       seq = Bio::Sequence.auto(tmp).seq
      end
      return seq




More information about the bioruby-cvs mailing list