summaryrefslogtreecommitdiff
path: root/src/frontEnd/Application.py
diff options
context:
space:
mode:
authornilshah982019-06-25 12:55:20 +0530
committernilshah982019-06-25 12:55:20 +0530
commitc263636b86d204c9500ed2fe58e4f9db74c28bee (patch)
treefc23c9c31d0821fa0deec33aa452f70df602217d /src/frontEnd/Application.py
parent73399832febef4407eb8d8a9e57d535f18b18654 (diff)
downloadeSim-c263636b86d204c9500ed2fe58e4f9db74c28bee.tar.gz
eSim-c263636b86d204c9500ed2fe58e4f9db74c28bee.tar.bz2
eSim-c263636b86d204c9500ed2fe58e4f9db74c28bee.zip
Resolves #100
Diffstat (limited to 'src/frontEnd/Application.py')
-rwxr-xr-xsrc/frontEnd/Application.py18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index 97f895ad..c0dddf51 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -71,9 +71,11 @@ class Application(QtGui.QMainWindow):
In this function we are setting icons, short-cuts,and
defining functonality for:
- - Top-tool-bar (New project, Open project, Close project, Help option )
- - Left-tool-bar (Open Schematic, Convert KiCad to NgSpice, Simuation,
- Model Editor, Subcircuit, NGHDL, Modelica Converter, OM Optimisation )
+ - Top-tool-bar (New project, Open project, Close project,\
+ Help option )
+ - Left-tool-bar (Open Schematic, Convert KiCad to NgSpice,\
+ Simuation, Model Editor, Subcircuit, NGHDL, Modelica\
+ Converter, OM Optimisation )
"""
# Top Tool bar
self.newproj = QtGui.QAction(
@@ -199,11 +201,12 @@ class Application(QtGui.QMainWindow):
exit message and buttons 'Yes', 'No'.
1. If 'Yes' is pressed:
- - it checks that program(process) in procThread_list (list made in
- Appconfig.py):
+ - it checks that program(process) in procThread_list\
+ (list made in Appconfig.py):
- if available it terminates that program
- - if the program(process) is not available, it checks for it
+ - if the program(process) is not available,\
+ it checks for it
in process_obj (list made in Appconfig.py) if found it
closes the program.
@@ -341,7 +344,8 @@ class Application(QtGui.QMainWindow):
# Fail Safe ===>
count += 1
if count >= 100:
- raise Exception("ngspice taking too long, check netlist file")
+ raise Exception(
+ "ngspice taking too long, check netlist file")
# Calling Python Plotting
try: