about summary refs log tree commit diff
path: root/sourcecodes/run_scripts/run_test_set
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/run_scripts/run_test_set')
-rw-r--r--sourcecodes/run_scripts/run_test_set12
1 files changed, 5 insertions, 7 deletions
diff --git a/sourcecodes/run_scripts/run_test_set b/sourcecodes/run_scripts/run_test_set
index dbf929f8..67ae66cd 100644
--- a/sourcecodes/run_scripts/run_test_set
+++ b/sourcecodes/run_scripts/run_test_set
@@ -1,15 +1,13 @@
 #!/usr/bin/octave -qf
-cd ./data
+source("./run_scripts/path_cd.m")
 arg_list = argv(); 
-addpath("../bnt-master");
-addpath(genpathKPM("../bnt-master"));
-addpath("../parameter_learning");
 filename=strcat(arg_list{1},"ts_output.txt");
 delete(filename);
+filename=strcat(arg_list{1},"ts_plotly.html");
+delete(filename);
 testSetPredictions(arg_list{1});
-fclose(filename);
+#fclose(filename);
 filename=strcat(arg_list{1},"ts_upload.txt");
 delete(filename);
-
-command=strcat({"/home/jziebart/python/Python-2.7.15/python ../ts_plotly.py "},arg_list{1});
+command=cstrcat("/var/www/html/compbio/BNW_1.3/bnw-env/bin/python3 ",base_dir,"/ts_plotly.py ",arg_list{1});
 test=system(command);