From: cmzmasek Date: Wed, 8 Mar 2017 03:02:44 +0000 (-0800) Subject: in progress... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0173c44688602d4bd569eee154511c1de5cce8db;p=jalview.git in progress... --- diff --git a/forester/ruby/evoruby/lib/evo/io/parser/hmmscan_multi_domain_extractor.rb b/forester/ruby/evoruby/lib/evo/io/parser/hmmscan_multi_domain_extractor.rb index 35b32df..c8cbc8d 100644 --- a/forester/ruby/evoruby/lib/evo/io/parser/hmmscan_multi_domain_extractor.rb +++ b/forester/ruby/evoruby/lib/evo/io/parser/hmmscan_multi_domain_extractor.rb @@ -528,9 +528,9 @@ module Evoruby raise IOError, 'domain architecture is ill formatted: ' + x end target_domain_name = inds[0] - ie_cutoff = inds[1].to_f - abs_len_cutoff = inds[2].to_i - rel_len_cutoff = inds[3].to_f + ie_cutoff = Float(inds[1]) + abs_len_cutoff = Integer(inds[2]) + rel_len_cutoff = Float(inds[3]) if target_domain_hash.has_key? target_domain_name target_domain_ary.push target_domain_hash[target_domain_name] else