From 0173c44688602d4bd569eee154511c1de5cce8db Mon Sep 17 00:00:00 2001 From: cmzmasek Date: Tue, 7 Mar 2017 19:02:44 -0800 Subject: [PATCH] in progress... --- .../evoruby/lib/evo/io/parser/hmmscan_multi_domain_extractor.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.10.2