[BioRuby-cvs] bioruby/lib/bio/util/restriction_enzyme/double_stranded cut_location_pair.rb, 1.3, 1.4

Trevor Wennblom trevor at dev.open-bio.org
Tue Jan 2 06:18:40 UTC 2007


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

Modified Files:
	cut_location_pair.rb 
Log Message:


Index: cut_location_pair.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** cut_location_pair.rb	1 Jan 2007 05:07:04 -0000	1.3
--- cut_location_pair.rb	2 Jan 2007 06:18:38 -0000	1.4
***************
*** 63,67 ****
        a,b = init_with_array( pair[0] )
  
!     elsif pair[0].kind_of? Range
        a,b = init_with_array( [pair[0].first, pair[0].last] )
  
--- 63,67 ----
        a,b = init_with_array( pair[0] )
  
!     elsif pair[0].kind_of? Range # FIXME This seems to be broken?  Check tests
        a,b = init_with_array( [pair[0].first, pair[0].last] )
  
***************
*** 70,74 ****
  
      else
!       raise ArgumentError, "#{pair[0].class} is an invalid class type."
      end
  
--- 70,74 ----
  
      else
!       raise ArgumentError, "#{pair[0].class} is an invalid class type to initalize CutLocationPair."
      end
  




More information about the bioruby-cvs mailing list