diff options
author | Sumanto Kar | 2022-05-02 20:31:26 +0530 |
---|---|---|
committer | GitHub | 2022-05-02 20:31:26 +0530 |
commit | acb5ad93634384bb015330134571a9d7764975e8 (patch) | |
tree | 2af0c23dc15db91c965c5977c1ac393de070214e | |
parent | 38f357d067edfc11c4d6268106b02688833baa7b (diff) | |
parent | 08d06a49db0742e56d73a7e10a01acdd466bb85b (diff) | |
download | eSim-acb5ad93634384bb015330134571a9d7764975e8.tar.gz eSim-acb5ad93634384bb015330134571a9d7764975e8.tar.bz2 eSim-acb5ad93634384bb015330134571a9d7764975e8.zip |
Merge pull request #201 from Eyantra698Sumanto/master
Removed two Ngspice threads
-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 3c68148b..8c63a22a 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -39,7 +39,9 @@ class NgspiceWidget(QtWidgets.QWidget): os.chdir(tempdir) else: # For Linux OS - self.command = "cd " + projPath + ";ngspice " + command + self.command = "cd " + projPath + \ + ";ngspice -r " + command.replace(".cir.out", ".raw") + \ + " " + command # Creating argument for process self.args = ['-hold', '-e', self.command] self.process.start('xterm', self.args) @@ -51,8 +53,6 @@ class NgspiceWidget(QtWidgets.QWidget): self.process.pid()) ) 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.command = "gaw " + command.replace(".cir.out", ".raw") self.process.start('sh', ['-c', self.command]) + print(self.command) |