[BioRuby-cvs] bioruby/lib/bio location.rb,0.21,0.22

Katayama Toshiaki k at pub.open-bio.org
Sun Dec 18 10:50:08 EST 2005


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

Modified Files:
	location.rb 
Log Message:
* minor change (error message format)


Index: location.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/location.rb,v
retrieving revision 0.21
retrieving revision 0.22
diff -C2 -d -r0.21 -r0.22
*** location.rb	30 Oct 2005 22:59:56 -0000	0.21
--- location.rb	18 Dec 2005 15:50:06 -0000	0.22
***************
*** 280,284 ****
        e = $2.to_i
        if e - s < 0
! #       raise "[Error] invalid range : #{location}"
          $stderr.puts "[Warning] invalid range : #{location}" if $DEBUG
        end
--- 280,284 ----
        e = $2.to_i
        if e - s < 0
! #       raise "Error: invalid range : #{location}"
          $stderr.puts "[Warning] invalid range : #{location}" if $DEBUG
        end
***************
*** 287,291 ****
        e = $2.to_i
        if e - s != 1
! #       raise "[Error] invalid range : #{location}"
          $stderr.puts "[Warning] invalid range : #{location}" if $DEBUG
        end
--- 287,291 ----
        e = $2.to_i
        if e - s != 1
! #       raise "Error: invalid range : #{location}"
          $stderr.puts "[Warning] invalid range : #{location}" if $DEBUG
        end
***************
*** 296,300 ****
        ;
      else
!       raise "[Error] unknown location format : #{location}"
      end
  
--- 296,300 ----
        ;
      else
!       raise "Error: unknown location format : #{location}"
      end
  



More information about the bioruby-cvs mailing list