diff options
author | fahim | 2015-05-15 12:26:41 +0530 |
---|---|---|
committer | fahim | 2015-05-15 12:26:41 +0530 |
commit | b02da14912ca9bf756db0828d6d94d1d732d8476 (patch) | |
tree | 98f01d53e14212776278f2c52e2ee70494cd10f6 /src/ngspiceSimulation/pythonPlotting.py | |
parent | 657794c3c482f8b8d8964a0b81d5d5c1e43ee346 (diff) | |
download | eSim-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.py | 7 |
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(" "): |