[BioRuby-cvs] bioruby/lib/bio/util/restriction_enzyme/single_strand cut_locations_in_enzyme_notation.rb, 1.1, 1.2

Trevor Wennblom trevor at dev.open-bio.org
Sun Dec 31 21:50:33 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/util/restriction_enzyme/single_strand
In directory dev.open-bio.org:/tmp/cvs-serv32395/restriction_enzyme/single_strand

Modified Files:
	cut_locations_in_enzyme_notation.rb 
Log Message:
Updated license for RestrictionEnzyme.

Index: cut_locations_in_enzyme_notation.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** cut_locations_in_enzyme_notation.rb	1 Feb 2006 07:34:12 -0000	1.1
--- cut_locations_in_enzyme_notation.rb	31 Dec 2006 21:50:31 -0000	1.2
***************
*** 1,2 ****
--- 1,11 ----
+ #
+ # bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb - The cut locations, in enzyme notation
+ #
+ # Author::    Trevor Wennblom  <mailto:trevor at corevx.com>
+ # Copyright:: Copyright (c) 2005-2007 Midwinter Laboratories, LLC (http://midwinterlabs.com)
+ # License::   Distributes under the same terms as Ruby
+ #
+ #  $Id$
+ #
  require 'pathname'
  libpath = Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 5, 'lib')).cleanpath.to_s
***************
*** 14,60 ****
  # bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb - The cut locations, in enzyme notation
  #
! # Copyright::  Copyright (C) 2006 Trevor Wennblom <trevor at corevx.com>
! # License::    LGPL
! #
! #  $Id$
! #
! #
! #--
! #
! #  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
! #
! #++
  #
! 
! =begin rdoc
! bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb - The cut locations, in enzyme notation
! 
! Stores the cut location in thier enzyme index notation
! 
! May be initialized with a series of cuts or an enzyme pattern marked
! with cut symbols.
! 
! Enzyme index notation:: 1.._n_, value before 1 is -1
! 
! Notes:
! * <code>0</code> is invalid as it does not refer to any index 
! * +nil+ is not allowed here as it has no meaning
! * +nil+ values are kept track of in DoubleStranded::CutLocations as they
!   need a reference point on the correlating strand.  +nil+ represents no
!   cut or a partial digestion.
! 
! =end
  class CutLocationsInEnzymeNotation < Array
    include CutSymbol
--- 23,44 ----
  # bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb - The cut locations, in enzyme notation
  #
! # Author::    Trevor Wennblom  <mailto:trevor at corevx.com>
! # Copyright:: Copyright (c) 2005-2007 Midwinter Laboratories, LLC (http://midwinterlabs.com)
! # License::   Distributes under the same terms as Ruby
  #
! # Stores the cut location in thier enzyme index notation
! # 
! # May be initialized with a series of cuts or an enzyme pattern marked
! # with cut symbols.
! # 
! # Enzyme index notation:: 1.._n_, value before 1 is -1
! # 
! # Notes:
! # * <code>0</code> is invalid as it does not refer to any index 
! # * +nil+ is not allowed here as it has no meaning
! # * +nil+ values are kept track of in DoubleStranded::CutLocations as they
! #   need a reference point on the correlating strand.  +nil+ represents no
! #   cut or a partial digestion.
! # 
  class CutLocationsInEnzymeNotation < Array
    include CutSymbol
***************
*** 132,138 ****
  
    end
! 
! end
! 
! end
! end
--- 116,120 ----
  
    end
! end # CutLocationsInEnzymeNotation
! end # SingleStrand
! end # Bio::RestrictionEnzyme
\ No newline at end of file




More information about the bioruby-cvs mailing list