[BioRuby-cvs] bioruby/lib/bio/util/restriction_enzyme/single_strand cut_locations_in_enzyme_notation.rb, 1.4, 1.5
Trevor Wennblom
trevor at dev.open-bio.org
Wed Apr 4 20:05:08 UTC 2007
- Previous message: [BioRuby-cvs] bioruby/lib/bio/util/restriction_enzyme analysis.rb, 1.15, 1.16 analysis_basic.rb, 1.9, 1.10 double_stranded.rb, 1.8, 1.9 single_strand.rb, 1.3, 1.4 single_strand_complement.rb, 1.2, 1.3 string_formatting.rb, 1.3, 1.4
- Next message: [BioRuby-cvs] bioruby/lib/bio/util/restriction_enzyme/double_stranded cut_location_pair.rb, 1.6, 1.7 cut_location_pair_in_enzyme_notation.rb, 1.4, 1.5 cut_locations_in_enzyme_notation.rb, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/repository/bioruby/bioruby/lib/bio/util/restriction_enzyme/single_strand
In directory dev.open-bio.org:/tmp/cvs-serv13881/lib/bio/util/restriction_enzyme/single_strand
Modified Files:
cut_locations_in_enzyme_notation.rb
Log Message:
Removed "negative?" Integer extension
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.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** cut_locations_in_enzyme_notation.rb 4 Apr 2007 18:07:44 -0000 1.4
--- cut_locations_in_enzyme_notation.rb 4 Apr 2007 20:05:06 -0000 1.5
***************
*** 10,14 ****
require 'bio/util/restriction_enzyme/cut_symbol'
- require 'bio/util/restriction_enzyme/integer'
require 'bio/sequence'
--- 10,13 ----
***************
*** 103,109 ****
def to_array_index
return [] if @min == nil
! if @min.negative?
calc = lambda do |n|
! n -= 1 unless n.negative?
n + @min.abs
end
--- 102,108 ----
def to_array_index
return [] if @min == nil
! if @min < 0
calc = lambda do |n|
! n -= 1 unless n < 0
n + @min.abs
end
- Previous message: [BioRuby-cvs] bioruby/lib/bio/util/restriction_enzyme analysis.rb, 1.15, 1.16 analysis_basic.rb, 1.9, 1.10 double_stranded.rb, 1.8, 1.9 single_strand.rb, 1.3, 1.4 single_strand_complement.rb, 1.2, 1.3 string_formatting.rb, 1.3, 1.4
- Next message: [BioRuby-cvs] bioruby/lib/bio/util/restriction_enzyme/double_stranded cut_location_pair.rb, 1.6, 1.7 cut_location_pair_in_enzyme_notation.rb, 1.4, 1.5 cut_locations_in_enzyme_notation.rb, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the bioruby-cvs
mailing list