diff options
author | nilshah98 | 2019-06-07 18:54:35 +0530 |
---|---|---|
committer | nilshah98 | 2019-06-13 12:15:50 +0530 |
commit | a0f738ba15264b69d9d51755569408bdd8e383b5 (patch) | |
tree | 3d472af32b57508a16dd7f81e5c54f8ccda1bf47 /src/ngspiceSimulation | |
parent | cc9bb8d5d56e64b6e6b6ff2db988ff200b9f720d (diff) | |
download | eSim-a0f738ba15264b69d9d51755569408bdd8e383b5.tar.gz eSim-a0f738ba15264b69d9d51755569408bdd8e383b5.tar.bz2 eSim-a0f738ba15264b69d9d51755569408bdd8e383b5.zip |
pep8 fixes and list models bug fixed
Diffstat (limited to 'src/ngspiceSimulation')
-rw-r--r-- | src/ngspiceSimulation/NgspiceWidget.py | 2 | ||||
-rw-r--r-- | src/ngspiceSimulation/pythonPlotting.py | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py index 695bfa50..def1d4e9 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -31,7 +31,7 @@ class NgspiceWidget(QtGui.QWidget): ( self.obj_appconfig.proc_dict [self.obj_appconfig.current_project['ProjectName']].append( - self.process.pid()) + self.process.pid()) ) # For Windows OS diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py index 848d9d54..7cff21ef 100644 --- a/src/ngspiceSimulation/pythonPlotting.py +++ b/src/ngspiceSimulation/pythonPlotting.py @@ -175,10 +175,10 @@ class plotWindow(QtGui.QMainWindow): "<font color='indigo'>List of Branches:</font>") self.funcLabel.setText("<font color='indigo'>Function:</font>") self.funcName.setText( - "<font color='indigo'>Standard functions</font>\ + "<font color='indigo'>Standard functions</font>\ <br><br>Addition:<br>Subtraction:<br>\ Multiplication:<br>Division:<br>Comparison:" - ) + ) self.funcExample.setText( "\n\nNode1 + Node2\nNode1 - Node2\nNode1 * Node2\nNode1 / Node2\ \nNode1 vs Node2") @@ -507,7 +507,12 @@ 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( |