summaryrefslogtreecommitdiff
path: root/src/frontEnd/DockArea.py
diff options
context:
space:
mode:
authorPranav P2023-05-23 17:11:33 +0530
committerPranav P2023-05-23 17:11:33 +0530
commit7b36bfed265309672689cd6ddd04c9a24d115e9c (patch)
treea865782fcc37447fec610a6383c133a48f7d7f41 /src/frontEnd/DockArea.py
parent1c0b9197069c12f2a9b0c35be936e97d38c6a372 (diff)
downloadeSim-7b36bfed265309672689cd6ddd04c9a24d115e9c.tar.gz
eSim-7b36bfed265309672689cd6ddd04c9a24d115e9c.tar.bz2
eSim-7b36bfed265309672689cd6ddd04c9a24d115e9c.zip
Changed the polling approach to check ngspice simulation completion
Diffstat (limited to 'src/frontEnd/DockArea.py')
-rwxr-xr-xsrc/frontEnd/DockArea.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py
index cf21199d..acf5b3d1 100755
--- a/src/frontEnd/DockArea.py
+++ b/src/frontEnd/DockArea.py
@@ -120,7 +120,6 @@ class DockArea(QtWidgets.QMainWindow):
def ngspiceEditor(self, projDir, simulationEssentials):
""" This function creates widget for Ngspice window."""
self.projDir = projDir
- self.simulationEssentials = simulationEssentials
self.projName = os.path.basename(self.projDir)
self.ngspiceNetlist = os.path.join(
self.projDir, self.projName + ".cir.out")
@@ -134,7 +133,7 @@ class DockArea(QtWidgets.QMainWindow):
self.ngspiceLayout = QtWidgets.QVBoxLayout()
self.ngspiceLayout.addWidget(
- NgspiceWidget(self.ngspiceNetlist, self.projDir, self.simulationEssentials)
+ NgspiceWidget(self.ngspiceNetlist, self.projDir, simulationEssentials)
)
# Adding to main Layout