lib/bio/util/restriction_enzyme/single_strand.rb in bio-1.3.1 vs lib/bio/util/restriction_enzyme/single_strand.rb in bio-1.4.0
- old
+ new
@@ -66,11 +66,12 @@
# * Array
#
# *Returns*:: nothing
def initialize( sequence, *c )
c.flatten! # if an array was supplied as an argument
- validate_args(sequence, c)
- sequence.downcase!
+ # NOTE t| 2009-09-19 commented out for library efficiency
+ # validate_args(sequence, c)
+ sequence = sequence.downcase
if sequence =~ re_cut_symbol
@cut_locations_in_enzyme_notation = CutLocationsInEnzymeNotation.new( strip_padding(sequence) )
else
@cut_locations_in_enzyme_notation = CutLocationsInEnzymeNotation.new( c )