summaryrefslogtreecommitdiff
path: root/src/subcircuit/convertSub.py
diff options
context:
space:
mode:
authorSunil Shetye2019-06-24 10:29:39 +0530
committerGitHub2019-06-24 10:29:39 +0530
commita5effc6fcfb55751cd60a08f9774391ed34ba711 (patch)
tree7e15a2db5094747bcce4daf88b357eec4f803b85 /src/subcircuit/convertSub.py
parentfd265d087ff6dc7a09df400b165043e61bb7d0c0 (diff)
parent2b4de1b9b56d436d156ee6259db95bf29d9373ab (diff)
downloadeSim-a5effc6fcfb55751cd60a08f9774391ed34ba711.tar.gz
eSim-a5effc6fcfb55751cd60a08f9774391ed34ba711.tar.bz2
eSim-a5effc6fcfb55751cd60a08f9774391ed34ba711.zip
Merge pull request #88 from anjalijaiswal08/documentation
Documentation
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"]