about summary refs log tree commit diff
path: root/sourcecodes/add_inv_example.php
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/add_inv_example.php')
-rw-r--r--sourcecodes/add_inv_example.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/sourcecodes/add_inv_example.php b/sourcecodes/add_inv_example.php
index 93c70c8d..c3514122 100644
--- a/sourcecodes/add_inv_example.php
+++ b/sourcecodes/add_inv_example.php
@@ -188,17 +188,17 @@ structure_change($keyval);
 
 
 
-  $file1="./data/".$keyval."run_newintervention.sh";
-  $initiallines=file_get_contents("./data/temp_intervention_file");
-  $all_lines="$initiallines"."$keyval\nfi\nexit";
+//  $file1="./data/".$keyval."run_newintervention.sh";
+//  $initiallines=file_get_contents("./data/temp_intervention_file");
+//  $all_lines="$initiallines"."$keyval\nfi\nexit";
 
-  $fp = fopen($file1,"w"); 
-  fwrite($fp, "$all_lines\n");
-  fclose($fp);
+//  $fp = fopen($file1,"w"); 
+//  fwrite($fp, "$all_lines\n");
+//  fclose($fp);
   //execute shell script for matlab
  // $cmd="./runmat_inv.sh $keyval";
 //  system($cmd);
-shell_exec('./runmat_inv.sh '.$keyval);
+shell_exec('./run_octave_inv '.$keyval);