From 1d89e4eb58ccf55965ddec9b847063ce805820c7 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 11 Jul 2016 11:06:37 +0530 Subject: Subject: Bug Fixing : change name from analysisFile to analysisInfo Description: Bug Fixing : change name from analysisFile to analysisInfo --- routes/routes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/routes.js b/routes/routes.js index 4f20997..47f26c5 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -98,13 +98,15 @@ module.exports = function(express,app,io,fs,exec,os,PythonShell,scriptPath){ socket.emit('serverMessage','Ngspice netlist executed successfully: '); var analysisInfo = grep('.tran|.dc|.ac', analysisFile); console.log("Analysis :"+analysisInfo); + console.log("Plot Allv :"+dumpv); + console.log("Plot Alli :"+dumpi); var options = { mode: 'json', pythonPath: pyEnv, pythonOptions: ['-u'], scriptPath: scriptPath, - args: [analysisFile, dumpv, dumpi] + args: [analysisInfo, dumpv, dumpi] }; PythonShell.run('parser.py', options, function (err, results) -- cgit