about summary refs log tree commit diff
path: root/sourcecodes/run_scripts/run_octave
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/run_scripts/run_octave')
-rw-r--r--sourcecodes/run_scripts/run_octave15
1 files changed, 11 insertions, 4 deletions
diff --git a/sourcecodes/run_scripts/run_octave b/sourcecodes/run_scripts/run_octave
index 3879280e..5bc782ef 100644
--- a/sourcecodes/run_scripts/run_octave
+++ b/sourcecodes/run_scripts/run_octave
@@ -1,7 +1,14 @@
 #!/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");
 runBN_initial(arg_list{1});
+createSVG(arg_list{1});
+createJSON(arg_list{1});
+output = strcat(arg_list{1},"network.svg");
+command = cstrcat("/usr/bin/dot -Tsvg -o",output," ",arg_list{1},"graphviz_svg.txt > ",output);
+system(command);
+output2 = strcat(arg_list{1},"network_no_edge.svg");
+command2 = cstrcat("/usr/bin/dot -Tsvg -o",output2," ",arg_list{1},"graphviz_svg_no_edge.txt > ",output2);
+system(command2);
+command= cstrcat("/var/www/html/compbio/BNW_1.3/bnw-env/bin/python3 ",base_dir,"/violin_plotly.py ",arg_list{1});
+test=system(command);