diff options
author | Sumanto Kar | 2022-01-31 16:52:06 +0530 |
---|---|---|
committer | GitHub | 2022-01-31 16:52:06 +0530 |
commit | 2cac7350dd625e1922ae656196298586bd760498 (patch) | |
tree | 1e19720b14d71fdc0bb95be2333d15d18309807f /src | |
parent | cec2833a020cc843e843c454b83c10fc0abc7c34 (diff) | |
download | eSim-2cac7350dd625e1922ae656196298586bd760498.tar.gz eSim-2cac7350dd625e1922ae656196298586bd760498.tar.bz2 eSim-2cac7350dd625e1922ae656196298586bd760498.zip |
Resolved pep8 errors
Diffstat (limited to 'src')
-rw-r--r-- | src/ngspiceSimulation/NgspiceWidget.py | 10 |
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]) |