summaryrefslogtreecommitdiff
path: root/src/subcircuit/convertSub.py
diff options
context:
space:
mode:
authoranjalijaiswal082019-06-19 18:03:09 +0530
committeranjalijaiswal082019-06-21 15:56:02 +0530
commit9042022342fcb103ba85fdd6c973b09e6e89f668 (patch)
tree841a4fdc3b58b0b4271b15bae6e4462b6fd5a990 /src/subcircuit/convertSub.py
parent1d9967fa80981e856825a5d5910902245f2390ba (diff)
downloadeSim-9042022342fcb103ba85fdd6c973b09e6e89f668.tar.gz
eSim-9042022342fcb103ba85fdd6c973b09e6e89f668.tar.bz2
eSim-9042022342fcb103ba85fdd6c973b09e6e89f668.zip
Issue #88 solved: Documentation improved
Diffstat (limited to 'src/subcircuit/convertSub.py')
-rw-r--r--src/subcircuit/convertSub.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/subcircuit/convertSub.py b/src/subcircuit/convertSub.py
index cce27476..49f5a54f 100644
--- a/src/subcircuit/convertSub.py
+++ b/src/subcircuit/convertSub.py
@@ -9,7 +9,7 @@ import os
class convertSub(QtGui.QWidget):
"""
Contains functions that checks project present for conversion and
- also function to convert Kicad to Ngspice.
+ also function to convert Kicad Netlist to Ngspice Netlist.
"""
def __init__(self, dockarea):
@@ -20,7 +20,13 @@ class convertSub(QtGui.QWidget):
def createSub(self):
"""
- This function create command to call kicad to Ngspice converter.
+ This function create command to call KiCad to Ngspice converter.
+ If the netlist is not generated for selected project it will show
+ error **The subcircuit does not contain any Kicad netlist file for
+ conversion.**
+ And if no project is selected for conversion, it again show error
+ message to select a file or create a file.
+
"""
print("Openinig Kicad-to-Ngspice converter from Subcircuit Module")
self.projDir = self.obj_appconfig.current_subcircuit["SubcircuitName"]