[BioRuby-cvs] bioruby/lib/bio/db nbrf.rb,1.7,1.8

Naohisa Goto ngoto at pub.open-bio.org
Wed Feb 22 08:43:17 UTC 2006


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

Modified Files:
	nbrf.rb 
Log Message:
* changed license to Ruby's.
* DELIMITER is changed like Bio::FastaFormat.
* Added new constant DELIMITER_OVERRUN for Bio::FlatFile.


Index: nbrf.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/nbrf.rb,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** nbrf.rb	18 Dec 2005 15:58:41 -0000	1.7
--- nbrf.rb	22 Feb 2006 08:43:15 -0000	1.8
***************
*** 2,24 ****
  # = bio/db/nbrf.rb - NBRF/PIR format sequence data class
  #
! # Copyright:: Copyright (C) 2001-2003 GOTO Naohisa <ngoto at gen-info.osaka-u.ac.jp>
  #             Copyright (C) 2001-2002 KATAYAMA Toshiaki <k at bioruby.org>
! # License::   LGPL
! #
! #--
! #  This library is free software; you can redistribute it and/or
! #  modify it under the terms of the GNU Lesser General Public
! #  License as published by the Free Software Foundation; either
! #  version 2 of the License, or (at your option) any later version.
! #
! #  This library is distributed in the hope that it will be useful,
! #  but WITHOUT ANY WARRANTY; without even the implied warranty of
! #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
! #  Lesser General Public License for more details.
! #
! #  You should have received a copy of the GNU Lesser General Public
! #  License along with this library; if not, write to the Free Software
! #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
! #++
  #
  #  $Id$
--- 2,8 ----
  # = bio/db/nbrf.rb - NBRF/PIR format sequence data class
  #
! # Copyright:: Copyright (C) 2001-2003,2006 Naohisa Goto <ng at bioruby.org>
  #             Copyright (C) 2001-2002 KATAYAMA Toshiaki <k at bioruby.org>
! # License::   Ruby's
  #
  #  $Id$
***************
*** 45,49 ****
  
      # Delimiter of each entry. Bio::FlatFile uses it.
!     DELIMITER	= RS = "*\n"
  
      # Creates a new NBRF object. It stores the comment and sequence
--- 29,41 ----
  
      # Delimiter of each entry. Bio::FlatFile uses it.
!     DELIMITER	= RS = "\n>"
! 
!     # (Integer) excess read size included in DELIMITER.
!     DELIMITER_OVERRUN = 1 # '>'
! 
!     #--
!     # Note: DELIMITER is changed due to the change of Bio::FlatFile.
!     # DELIMITER	= RS = "*\n"
!     #++
  
      # Creates a new NBRF object. It stores the comment and sequence




More information about the bioruby-cvs mailing list