[BioRuby-cvs] bioruby/lib/bio/appl/sim4 report.rb,1.2,1.3

Katayama Toshiaki k at pub.open-bio.org
Wed Sep 7 21:22:12 EDT 2005


Update of /home/repository/bioruby/bioruby/lib/bio/appl/sim4
In directory pub.open-bio.org:/tmp/cvs-serv9021/lib/bio/appl/sim4

Modified Files:
	report.rb 
Log Message:
* expanded tab at the line head


Index: report.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/appl/sim4/report.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** report.rb	10 Oct 2004 14:54:23 -0000	1.2
--- report.rb	8 Sep 2005 01:22:10 -0000	1.3
***************
*** 58,62 ****
  
          def self.parse(str, str2 = nil)
! 	  /^seq[12] \= (.*)(?: \((.*)\))?\,\s*(\d+)\s*bp\s*$/ =~ str
            seqid = $2
            filename = $1
--- 58,62 ----
  
          def self.parse(str, str2 = nil)
!           /^seq[12] \= (.*)(?: \((.*)\))?\,\s*(\d+)\s*bp\s*$/ =~ str
            seqid = $2
            filename = $1
***************
*** 87,92 ****
  
          def self.parse(str, aln)
! 	  /^(\d+)\-(\d+)\s*\((\d+)\-(\d+)\)\s*([\d\.]+)\%\s*([\-\<\>]*)/ =~ str
! 	  self.new(Segment.new($1, $2, aln[0]),
                     Segment.new($3, $4, aln[2]),
                     aln[1], $5, $6)
--- 87,92 ----
  
          def self.parse(str, aln)
!           /^(\d+)\-(\d+)\s*\((\d+)\-(\d+)\)\s*([\d\.]+)\%\s*([\-\<\>]*)/ =~ str
!           self.new(Segment.new($1, $2, aln[0]),
                     Segment.new($3, $4, aln[2]),
                     aln[1], $5, $6)



More information about the bioruby-cvs mailing list