[BioRuby-cvs] bioruby/lib/bio/db fasta.rb,1.28.2.1,1.28.2.2

Naohisa Goto ngoto at dev.open-bio.org
Fri Jun 20 13:30:16 UTC 2008


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

Modified Files:
      Tag: BRANCH-biohackathon2008
	fasta.rb 
Log Message:
Here-document separater string in example is changed to aviod confusion
about "END" which is also a reserved word in Ruby.


Index: fasta.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/fasta.rb,v
retrieving revision 1.28.2.1
retrieving revision 1.28.2.2
diff -C2 -d -r1.28.2.1 -r1.28.2.2
*** fasta.rb	20 Jun 2008 13:22:31 -0000	1.28.2.1
--- fasta.rb	20 Jun 2008 13:30:14 -0000	1.28.2.2
***************
*** 3,7 ****
  #
  # Copyright::  Copyright (C) 2001, 2002
! #              GOTO Naohisa <ngoto at gen-info.osaka-u.ac.jp>,
  #              Toshiaki Katayama <k at bioruby.org>
  # License::    The Ruby License
--- 3,7 ----
  #
  # Copyright::  Copyright (C) 2001, 2002
! #              Naohisa Goto <ng at bioruby.org>,
  #              Toshiaki Katayama <k at bioruby.org>
  # License::    The Ruby License
***************
*** 45,49 ****
    # === Examples
    #
!   #   f_str = <<END
    #   >sce:YBR160W  CDC28, SRM5; cyclin-dependent protein kinase catalytic subunit [EC:2.7.1.-] [SP:CC28_YEAST]
    #   MSGELANYKRLEKVGEGTYGVVYKALDLRPGQGQRVVALKKIRLESEDEG
--- 45,49 ----
    # === Examples
    #
!   #   f_str = <<END_OF_STRING
    #   >sce:YBR160W  CDC28, SRM5; cyclin-dependent protein kinase catalytic subunit [EC:2.7.1.-] [SP:CC28_YEAST]
    #   MSGELANYKRLEKVGEGTYGVVYKALDLRPGQGQRVVALKKIRLESEDEG
***************
*** 65,69 ****
    #   FERLCELLGYDNVFPLIINIKTKSNGGYQLCGSISIIKIEEELKSVGFER
    #   KTGDPLEWRRLFKKISTICRDIILIPN
!   #   END
    #
    #   f = Bio::FastaFormat.new(f_str)
--- 65,69 ----
    #   FERLCELLGYDNVFPLIINIKTKSNGGYQLCGSISIIKIEEELKSVGFER
    #   KTGDPLEWRRLFKKISTICRDIILIPN
!   #   END_OF_STRING
    #
    #   f = Bio::FastaFormat.new(f_str)




More information about the bioruby-cvs mailing list