From 1427e9bf4f85823164b4573a3bcf1ba3ba6b04d0 Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Wed, 24 Feb 2021 15:19:03 -0600 Subject: Moving final GENENET8 version to master --- sourcecodes/layout_cyto.php | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'sourcecodes/layout_cyto.php') diff --git a/sourcecodes/layout_cyto.php b/sourcecodes/layout_cyto.php index 85d8835a..b939f79a 100644 --- a/sourcecodes/layout_cyto.php +++ b/sourcecodes/layout_cyto.php @@ -2,6 +2,11 @@
+ + @@ -12,17 +17,15 @@ include("header_new.inc"); include("input_validate.php"); $keyval=valid_keyval($_GET["My_key"]); -//$dir="./data/"; +$dir="./data/"; //In this case, $dir is used by the json command so it is interpreted and turned into /tmp/bnw/ automatically //$dir="/tmp/bnw/"; -$dir="/var/lib/genenet/bnw/"; -$input_json=$keyval."network.json"; +$input_json=$dir.$keyval."network.json"; $output_png=$keyval."modified_network.png"; //In this section, $dir is used by php, so we need to use /tmp/bnw -//$thrfile="/tmp/bnw/".$keyval."thr.txt"; -$thrfile="/var/lib/genenet/bnw/".$keyval."thr.txt"; +$thrfile="/tmp/bnw/".$keyval."thr.txt"; if(file_exists($thrfile)) { $thr=file_get_contents("$thrfile"); @@ -33,6 +36,14 @@ if(file_exists($thrfile)) ?> + @@ -76,11 +87,6 @@ display: none; - - -