From: martinahansen Date: Sat, 2 Feb 2013 21:37:11 +0000 (+0000) Subject: fixed minor bug in error handling X-Git-Url: https://git.donarmstrong.com/?p=biopieces.git;a=commitdiff_plain;h=162aeddb3605c07e27906be021786e2db3ce0664 fixed minor bug in error handling git-svn-id: http://biopieces.googlecode.com/svn/trunk@2087 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/code_ruby/lib/maasha/seq.rb b/code_ruby/lib/maasha/seq.rb index 6c0f35b..45c13fe 100644 --- a/code_ruby/lib/maasha/seq.rb +++ b/code_ruby/lib/maasha/seq.rb @@ -575,7 +575,7 @@ class Seq when "illumina13" then na_qual += 64 when "illumina15" then na_qual += 64 when "illumina18" then na_qual += 33 - else raise SeqError, "unknown quality score encoding: #{from}" + else raise SeqError, "unknown quality score encoding: #{to}" end self.qual = na_qual.to_s