summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/pythonPlotting.py
diff options
context:
space:
mode:
authorfahim2015-05-15 12:26:41 +0530
committerfahim2015-05-15 12:26:41 +0530
commitb02da14912ca9bf756db0828d6d94d1d732d8476 (patch)
tree98f01d53e14212776278f2c52e2ee70494cd10f6 /src/ngspiceSimulation/pythonPlotting.py
parent657794c3c482f8b8d8964a0b81d5d5c1e43ee346 (diff)
downloadeSim-b02da14912ca9bf756db0828d6d94d1d732d8476.tar.gz
eSim-b02da14912ca9bf756db0828d6d94d1d732d8476.tar.bz2
eSim-b02da14912ca9bf756db0828d6d94d1d732d8476.zip
Subject: Update pythonPlotting
Description: Update the project and file path require for python plotting.
Diffstat (limited to 'src/ngspiceSimulation/pythonPlotting.py')
-rw-r--r--src/ngspiceSimulation/pythonPlotting.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py
index c7f40ae3..e2156920 100644
--- a/src/ngspiceSimulation/pythonPlotting.py
+++ b/src/ngspiceSimulation/pythonPlotting.py
@@ -14,7 +14,7 @@ class plotWindow(QtGui.QMainWindow):
QtGui.QMainWindow.__init__(self)
print "Path : ",fpath
print "Project :",projectName
- self.fpath = fpath+".cir.out"
+ self.fpath = fpath
self.projName = projectName
self.createMainFrame()
self.combo = []
@@ -481,9 +481,10 @@ class File_data:
with open (fpath+"/plot_data_v.txt") as f1:
idata = f1.read()
- except:
+ except Exception as e:
tkMessageBox.showinfo("Warning!!", "Click on KI->Ng button before simulation ")
- exit(1)
+ print "Excpetion MSG :",str(e)
+ #exit(1)
try:
for l in I[3].split(" "):