summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/NgspiceWidget.py
diff options
context:
space:
mode:
authorSumanto Kar2022-01-31 16:52:06 +0530
committerGitHub2022-01-31 16:52:06 +0530
commit2cac7350dd625e1922ae656196298586bd760498 (patch)
tree1e19720b14d71fdc0bb95be2333d15d18309807f /src/ngspiceSimulation/NgspiceWidget.py
parentcec2833a020cc843e843c454b83c10fc0abc7c34 (diff)
downloadeSim-2cac7350dd625e1922ae656196298586bd760498.tar.gz
eSim-2cac7350dd625e1922ae656196298586bd760498.tar.bz2
eSim-2cac7350dd625e1922ae656196298586bd760498.zip
Resolved pep8 errors
Diffstat (limited to 'src/ngspiceSimulation/NgspiceWidget.py')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 52f6b87d..ad93bbbe 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -52,8 +52,8 @@ class NgspiceWidget(QtWidgets.QWidget):
self.process.pid())
)
self.process = QtCore.QProcess(self)
- self.process = QtCore.QProcess(self)
- self.command ="ngspice -b -r " + command.replace(".cir.out",".raw") + \
- " -o " + command.replace(".cir.out",".out") + " " + command + \
- "; gaw " + command.replace(".cir.out",".raw")
- self.process.start('sh', ['-c', self.command])
+ self.command = "ngspice -b -r " + \
+ command.replace(".cir.out" , ".raw") + " -o " \
+ + command.replace(".cir.out" , ".out") + " " + command + \
+ "; gaw " + command.replace(".cir.out" , ".raw")
+ self.process.start('sh' , ['-c' , self.command])