inprogress
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Sat, 16 Nov 2013 00:59:33 +0000 (00:59 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Sat, 16 Nov 2013 00:59:33 +0000 (00:59 +0000)
forester/ruby/evoruby/lib/evo/tool/phylogenies_decorator.rb

index b2d5a87..3b37182 100644 (file)
@@ -30,7 +30,7 @@ module Evoruby
     #DECORATOR_OPTIONS_DOMAINS = '-r=1'
     DECORATOR_OPTIONS_DOMAINS = '-p -t'
     IDS_MAPFILE_SUFFIX        = '.nim'
-    DOMAINS_MAPFILE_SUFFIX    = '.dff'
+    DOMAINS_MAPFILE_SUFFIX    = '_hmmscan_10.dff'
     SLEEP_TIME                = 0.1
     REMOVE_NI                 = true
     TMP_FILE_1                  = '___PD1___'
@@ -253,15 +253,13 @@ module Evoruby
           matching_files << file
         end
       }
-    
-
       if matching_files.length < 1
         Util.fatal_error( PRG_NAME, 'no file matching [' + phylogeny_id +
-           '_] [' + suffix_pattern + '] present in current directory' )
+            + suffix_pattern + '] present in current directory' )
       end
       if matching_files.length > 1
         Util.fatal_error( PRG_NAME, 'more than one file matching [' + phylogeny_id +
-           '_] [' + suffix_pattern + '] present in current directory' )
+            + suffix_pattern + '] present in current directory' )
       end
       matching_files[ 0 ]
     end