summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Model.py
diff options
context:
space:
mode:
authorfahim2015-04-23 12:06:56 +0530
committerfahim2015-04-23 12:06:56 +0530
commit2c623deaf46848b02efc31a44c5d3fb2d97885e7 (patch)
treea8603c22371ed7379c63bd3055d8c330f38b21bd /src/kicadtoNgspice/Model.py
parent342730ed59f75ebe1b5df0f886ae9e6bcd787ee6 (diff)
downloadeSim-2c623deaf46848b02efc31a44c5d3fb2d97885e7.tar.gz
eSim-2c623deaf46848b02efc31a44c5d3fb2d97885e7.tar.bz2
eSim-2c623deaf46848b02efc31a44c5d3fb2d97885e7.zip
Subject: Changes in Processing of XML file
Description: Change the compType which is taken from .cir file to modelname which is taken from xml file for more generic pattern
Diffstat (limited to 'src/kicadtoNgspice/Model.py')
-rw-r--r--src/kicadtoNgspice/Model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kicadtoNgspice/Model.py b/src/kicadtoNgspice/Model.py
index f450cf56..fff27707 100644
--- a/src/kicadtoNgspice/Model.py
+++ b/src/kicadtoNgspice/Model.py
@@ -70,7 +70,7 @@ class Model(QtGui.QWidget):
Listing all
line[0] = index
line[1] = compLine
- line[2] = compType
+ line[2] = modelname #Change from compType to modelname
line[3] = compName
line[4] = comment
line[5] = title