From 2cac7350dd625e1922ae656196298586bd760498 Mon Sep 17 00:00:00 2001 From: Sumanto Kar Date: Mon, 31 Jan 2022 16:52:06 +0530 Subject: Resolved pep8 errors --- src/ngspiceSimulation/NgspiceWidget.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ngspiceSimulation/NgspiceWidget.py') 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]) -- cgit