summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornilshah982019-06-07 11:38:49 +0530
committernilshah982019-06-13 12:15:50 +0530
commit1dd7f42e4fe21f7b854644536ff2be977f67e4a9 (patch)
tree71e146167fc4bfe615b1834a819a083493d052d9 /src
parentf39e18e849b2166038505f4ae1b9cf1016ff9ace (diff)
downloadeSim-1dd7f42e4fe21f7b854644536ff2be977f67e4a9.tar.gz
eSim-1dd7f42e4fe21f7b854644536ff2be977f67e4a9.tar.bz2
eSim-1dd7f42e4fe21f7b854644536ff2be977f67e4a9.zip
ngspiceSimulation documentation done
Diffstat (limited to 'src')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py3
-rw-r--r--src/ngspiceSimulation/pythonPlotting.py6
2 files changed, 3 insertions, 6 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 52427681..5d98534e 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -27,10 +27,11 @@ class NgspiceWidget(QtGui.QWidget):
self.args = ['-hold', '-e', self.command]
self.process.start('xterm', self.args)
self.obj_appconfig.process_obj.append(self.process)
+ print(self.obj_appconfig.proc_dict)
(
self.obj_appconfig.proc_dict
[self.obj_appconfig.current_project['ProjectName']].append(
- self.process.pid())
+ self.process.pid())
)
elif platform.system() == 'Windows':
diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py
index 9e9db8f6..298d392c 100644
--- a/src/ngspiceSimulation/pythonPlotting.py
+++ b/src/ngspiceSimulation/pythonPlotting.py
@@ -501,11 +501,7 @@ class plotWindow(QtGui.QMainWindow):
loc_x += 50
loc_y += 50
# Adding object of multimeter to dictionary
- (
- self.obj_appconfig.dock_dict
- [self.obj_appconfig.current_project['ProjectName']].append(
- self.obj[j])
- )
+ self.obj_appconfig.dock_dict[self.obj_appconfig.current_project['ProjectName']].append(self.obj[j])
if boxCheck == 0:
QtGui.QMessageBox.about(