diff options
author | fahim | 2015-03-18 17:25:08 +0530 |
---|---|---|
committer | fahim | 2015-03-18 17:25:08 +0530 |
commit | 1eb70cebaa7c2bb2d351af9c7dddf7f7f670f5f5 (patch) | |
tree | 8fbb0536650afebaac36d0431188839520a8286e /src/projManagement/Kicad.py | |
parent | 9bb902d33900622bdd3082e74765a52300bd7e9d (diff) | |
download | eSim-1eb70cebaa7c2bb2d351af9c7dddf7f7f670f5f5.tar.gz eSim-1eb70cebaa7c2bb2d351af9c7dddf7f7f670f5f5.tar.bz2 eSim-1eb70cebaa7c2bb2d351af9c7dddf7f7f670f5f5.zip |
Subject: Added checkbox in Analysis Tab
Description: Added Checkbox in Analysis Tab
Diffstat (limited to 'src/projManagement/Kicad.py')
-rw-r--r-- | src/projManagement/Kicad.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/projManagement/Kicad.py b/src/projManagement/Kicad.py index ec2932a0..47a65c73 100644 --- a/src/projManagement/Kicad.py +++ b/src/projManagement/Kicad.py @@ -101,6 +101,14 @@ class Kicad: #Cheking if project has .cir file or not if self.obj_validation.validateCir(self.projDir): print "CIR file present" + self.projName = os.path.basename(self.projDir) + self.project = os.path.join(self.projDir,self.projName) + + #Creating a command to run + self.cmd = "python /home/fahim/Workspace/eSim/src/kicadtoNgspice/KicadtoNgspice.py "+self.project+".cir " + self.obj_workThread = Worker.WorkerThread(self.cmd) + self.obj_workThread.start() + else: self.msg = QtGui.QErrorMessage(None) self.msg.showMessage('Your project do not contain any Kicad netlist file for conversion') |