in progress...
authorcmzmasek <chris.zma@outlook.com>
Wed, 8 Mar 2017 03:02:44 +0000 (19:02 -0800)
committercmzmasek <chris.zma@outlook.com>
Wed, 8 Mar 2017 03:02:44 +0000 (19:02 -0800)
forester/ruby/evoruby/lib/evo/io/parser/hmmscan_multi_domain_extractor.rb

index 35b32df..c8cbc8d 100644 (file)
@@ -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