[BioRuby-cvs] bioruby/lib/bio/util/restriction_enzyme/analysis calculated_cuts.rb, 1.2, 1.3

Trevor Wennblom trevor at dev.open-bio.org
Mon Jan 1 05:07:06 UTC 2007


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

Modified Files:
	calculated_cuts.rb 
Log Message:


Index: calculated_cuts.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/util/restriction_enzyme/analysis/calculated_cuts.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** calculated_cuts.rb	31 Dec 2006 21:50:31 -0000	1.2
--- calculated_cuts.rb	1 Jan 2007 05:07:04 -0000	1.3
***************
*** 135,141 ****
    def strands_for_display(str1 = nil, str2 = nil, vcp=nil, vcc=nil, hc=nil)
      return @strands_for_display if @strands_for_display_current
!     vcs = '|'
!     hcs = '-'
!     vhcs = '+'
        
      num_txt_repeat = lambda { num_txt = '0123456789'; (num_txt * ( @size / num_txt.size.to_f ).ceil)[0.. at size-1] }
--- 135,141 ----
    def strands_for_display(str1 = nil, str2 = nil, vcp=nil, vcc=nil, hc=nil)
      return @strands_for_display if @strands_for_display_current
!     vcs = '|'   # Vertical cut symbol
!     hcs = '-'   # Horizontal cut symbol
!     vhcs = '+'  # Intersection of vertical and horizontal cut symbol
        
      num_txt_repeat = lambda { num_txt = '0123456789'; (num_txt * ( @size / num_txt.size.to_f ).ceil)[0.. at size-1] }
***************
*** 174,193 ****
    end
  
- =begin
-   def vc_primary_add(c)
-     @vc_primary << c
-     @current = false
-   end
- 
-   def vc_complement_add(c)
-     @vc_complement << c
-     @current = false
-   end
- 
-   def hc_between_strands_add(c)
-     @hc_between_strands << c
-     @current = false
-   end
- =end
    #########
    protected
--- 174,177 ----




More information about the bioruby-cvs mailing list