[BioRuby-cvs] bioruby/lib/bio/shell/plugin seq.rb,1.5,1.6

Katayama Toshiaki k at pub.open-bio.org
Sat Nov 5 22:03:10 EST 2005


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

Modified Files:
	seq.rb 
Log Message:
* minor update


Index: seq.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/seq.rb,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** seq.rb	5 Nov 2005 10:19:07 -0000	1.5
--- seq.rb	6 Nov 2005 03:03:08 -0000	1.6
***************
*** 89,101 ****
        end
      else
!       rep << "Sequence          : #{seq}\n"
!       rep << "Composition       : #{seq.composition.inspect}\n"
        begin
!         rep << "Protein weight    : #{seq.molecular_weight}\n"
        rescue
!         rep << "Protein weight    : #{$!}\n"
        end
! #     rep << "amino acid codes  : #{seq.codes.inspect}\n"
! #     rep << "amino acid names  : #{seq.names.inspect}\n"
      end
      rep  << "//\n"
--- 89,101 ----
        end
      else
!       rep << "Sequence           : #{seq}\n"
!       rep << "Composition        : #{seq.composition.inspect}\n"
        begin
!         rep << "Protein weight     : #{seq.molecular_weight}\n"
        rescue
!         rep << "Protein weight     : #{$!}\n"
        end
! #     rep << "amino acid codes   : #{seq.codes.inspect}\n"
! #     rep << "amino acid names   : #{seq.names.inspect}\n"
      end
      rep  << "//\n"



More information about the bioruby-cvs mailing list