diff options
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') |