[BioRuby-cvs] bioruby/lib/bio sequence.rb,0.58.2.3,0.58.2.4

Naohisa Goto ngoto at dev.open-bio.org
Fri Feb 15 03:33:53 UTC 2008


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

Modified Files:
      Tag: BRANCH-biohackathon2008
	sequence.rb 
Log Message:
changed to use original exception class instead of NoMethodError 


Index: sequence.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/sequence.rb,v
retrieving revision 0.58.2.3
retrieving revision 0.58.2.4
diff -C2 -d -r0.58.2.3 -r0.58.2.4
*** sequence.rb	15 Feb 2008 03:23:23 -0000	0.58.2.3
--- sequence.rb	15 Feb 2008 03:33:51 -0000	0.58.2.4
***************
*** 107,111 ****
        if bt_here == evar.backtrace[0, 2] then
          bt = evar.backtrace[2..-1]
!         evar = NoMethodError.new("undefined method \`#{sym.to_s}\' for #{self.inspect}")
          evar.set_backtrace(bt)
        end
--- 107,111 ----
        if bt_here == evar.backtrace[0, 2] then
          bt = evar.backtrace[2..-1]
!         evar = evar.class.new("undefined method \`#{sym.to_s}\' for #{self.inspect}")
          evar.set_backtrace(bt)
        end




More information about the bioruby-cvs mailing list