about summary refs log tree commit diff
path: root/sourcecodes/modify_structure_learning.php
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/modify_structure_learning.php')
-rw-r--r--sourcecodes/modify_structure_learning.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/sourcecodes/modify_structure_learning.php b/sourcecodes/modify_structure_learning.php
index c4e66bf0..3a074b6c 100644
--- a/sourcecodes/modify_structure_learning.php
+++ b/sourcecodes/modify_structure_learning.php
@@ -6,8 +6,8 @@ function get_tier($keyval)
 {
 
 $tier=trim($_GET['tier']);
-//$dir="./data/";
-$dir="/tmp/bnw/";
+//$dir="/var/lib/genenet/bnw/";
+$dir="/var/lib/genenet/bnw/";
 $tf=$dir.$keyval."del_var.txt";
 $fpvar = fopen("$tf","w");
 
@@ -52,7 +52,7 @@ function describe_tier($fpvar,$keyval)
 
 
 $tierdesc=trim($_GET['tierdesc']);
-$dir="./data/";
+$dir="/var/lib/genenet/bnw/";
 $tf=$dir.$keyval."tier.txt";
 $tier=file_get_contents("$tf");
 
@@ -199,7 +199,7 @@ if($d1!="" && $d2!="")
 
 
 
-$dir="./data/";
+$dir="/var/lib/genenet/bnw/";
 
 //$sid1=$dir.$keyval."ban";
 //$sid2=$dir.$keyval."white";
@@ -227,8 +227,8 @@ $al3=rand(0,51);
 $alpha="$alphas[$al1]"."$alphas[$al2]"."$alphas[$al3]";
 $keyval=$alpha;
 
-shell_exec('./run_scripts/run_mod_str '.$oldkey.' '.$keyval);
-shell_exec('./run_scripts/run_prep_input '.$keyval);
+shell_exec(__DIR__.'/run_scripts/run_mod_str '.$oldkey.' '.$keyval);
+shell_exec(__DIR__.'/run_scripts/run_prep_input '.$keyval);
 
 //describe_tier($fpb,$keyval);
 //banlist($fpb);