From 25b843f6bbacb1937bdb960777b73acbece64115 Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Wed, 24 Feb 2021 14:36:59 -0600 Subject: GENENET8 update --- sourcecodes/run_scripts/run_loo | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'sourcecodes/run_scripts/run_loo') diff --git a/sourcecodes/run_scripts/run_loo b/sourcecodes/run_scripts/run_loo index 3ff4f4db..4fbc0b28 100644 --- a/sourcecodes/run_scripts/run_loo +++ b/sourcecodes/run_scripts/run_loo @@ -1,17 +1,15 @@ #!/usr/bin/octave -qf -cd ./data -arg_list = argv(); -addpath("../bnt-master"); -addpath(genpathKPM("../bnt-master")); -addpath("../parameter_learning"); +source("./run_scripts/path_cd.m") +arg_list = argv(); filename=strcat(arg_list{1},"looCV.txt"); delete(filename); +filename=strcat(arg_list{1},"loo_plotly.html"); +delete(filename); filename=strcat(arg_list{1},"looCV_temp.txt"); fout_temp=fopen(filename,'w'); fprintf(fout_temp,arg_list{2}); fclose(fout_temp); looCrossValid(arg_list{1},arg_list{2}); delete(filename); - -command=strcat({"/home/jziebart/python/Python-2.7.15/python ../cv_plotly.py "},arg_list{1}); +command=cstrcat("/var/www/html/compbio/BNW_1.3/bnw-env/bin/python3 ",base_dir,"/cv_plotly.py ",arg_list{1}); test=system(command); -- cgit 1.4.1