Skip to content

Commit c478379

Browse files
committed
Add line 12 to deal with "require_relative" issues, then update line 26
1 parent 52a7217 commit c478379

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

create_hessian_by_bootstrapping.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
require 'find'
1010
require 'colorize'
1111

12-
require_relative 'lib/Dir'
13-
require_relative 'lib/processbar'
14-
require_relative 'lib/do_mcmctree.rb'
12+
$LOAD_PATH << './lib'
13+
14+
require 'Dir.rb'
15+
require 'processbar.rb'
16+
require 'do_mcmctree.rb'
1517

1618

1719
############################################################
@@ -21,7 +23,7 @@
2123
DIR = File.dirname(__FILE__)
2224
LIB_DIR = File.join(DIR, 'lib')
2325

24-
IQTREE = 'iqtree'
26+
IQTREE = 'iqtree2'
2527
NW_STATS = 'nw_stats'
2628
NW_TOPOLOGY = 'nw_topology'
2729
MCMCTREE = 'mcmctree'
@@ -277,6 +279,4 @@ def split_ali_file(ali_file)
277279
`bash #{FIGTREE2NWK} -i FigTree.tre > figtree.nwk`
278280
puts "Done!" if $? == 0
279281
end
280-
end
281-
282-
282+
end

0 commit comments

Comments
 (0)