diff options
author | Fahim | 2015-10-20 12:34:14 +0530 |
---|---|---|
committer | Fahim | 2015-10-20 12:34:14 +0530 |
commit | 67dee429563497505d422a44b5429f814afb7600 (patch) | |
tree | 8ac927d0547b4e141ffa93323d1234679b147db9 | |
parent | 664ba991489f9e7370ab17af944a9c730c57f0cf (diff) | |
download | eSim-67dee429563497505d422a44b5429f814afb7600.tar.gz eSim-67dee429563497505d422a44b5429f814afb7600.tar.bz2 eSim-67dee429563497505d422a44b5429f814afb7600.zip |
Subject: Modification for new pspice to kicad converter
Description: Modification for new pspice to kicad converter
-rw-r--r-- | src/pspicetoKicad/ImportPspice.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/pspicetoKicad/ImportPspice.py b/src/pspicetoKicad/ImportPspice.py index c92f7582..fc07083d 100644 --- a/src/pspicetoKicad/ImportPspice.py +++ b/src/pspicetoKicad/ImportPspice.py @@ -129,13 +129,19 @@ class ConvertPspiceKicad(QtGui.QWidget): print "Create Project File is called" print "Schematic File Location---------->",pspiceSchFileLoc print "Output Directory-------------->",outputDir + + self.arg1 = pspiceSchFileLoc + self.arg2 = os.path.join(outputDir,os.path.basename(str(pspiceSchFileLoc))) + + #print "Arg1----------->",self.arg1 + #print "Arg2----------->",self.arg2 #Create command to be run if platform.system() == 'Linux': #Check for 32 or 64 bit if platform.architecture()[0] == '64bit': - self.cmd = "../pspicetoKicad/schConverter64 "+pspiceSchFileLoc+" "+outputDir + self.cmd = "../pspicetoKicad/schConverter64 "+self.arg1+" "+self.arg2 else: - self.cmd = "../pspicetoKicad/schConverter32 "+pspiceSchFileLoc+" "+outputDir + self.cmd = "../pspicetoKicad/schConverter32 "+self.arg1+" "+self.arg2 elif platform.system() == 'Windows': print "Needs to include for Windows" |