diff options
author | Sumanto Kar | 2022-05-02 20:16:30 +0530 |
---|---|---|
committer | Eyantra698Sumanto | 2022-05-02 20:29:14 +0530 |
commit | 08d06a49db0742e56d73a7e10a01acdd466bb85b (patch) | |
tree | 2da82c4028e300e79a721dff5865347cd2ff66c4 /src/ngspiceSimulation | |
parent | 4412deaefad7ab9170b44d441b825c5d87ed1dff (diff) | |
download | eSim-08d06a49db0742e56d73a7e10a01acdd466bb85b.tar.gz eSim-08d06a49db0742e56d73a7e10a01acdd466bb85b.tar.bz2 eSim-08d06a49db0742e56d73a7e10a01acdd466bb85b.zip |
Fixed Pep8 issues
Diffstat (limited to 'src/ngspiceSimulation')
-rw-r--r-- | src/ngspiceSimulation/NgspiceWidget.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py index 27e180ac..ba4f9bca 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -41,8 +41,8 @@ class NgspiceWidget(QtWidgets.QWidget): else: # For Linux OS self.command = "cd " + projPath + \ - ";ngspice -r " + command.replace(".cir.out", ".raw") + \ - " " + command + ";ngspice -r " + command.replace(".cir.out", ".raw") + \ + " " + command # Creating argument for process self.args = ['-hold', '-e', self.command] self.process.start('xterm', self.args) @@ -52,8 +52,8 @@ class NgspiceWidget(QtWidgets.QWidget): self.obj_appconfig.proc_dict [self.obj_appconfig.current_project['ProjectName']].append( self.process.pid()) - ) + ) self.process = QtCore.QProcess(self) - self.command ="gaw " + command.replace(".cir.out", ".raw") + self.command = "gaw " + command.replace(".cir.out", ".raw") self.process.start('sh', ['-c', self.command]) print(self.command) |