summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Source.py
diff options
context:
space:
mode:
authorFahim2016-02-18 14:04:21 +0530
committerFahim2016-02-18 14:04:21 +0530
commit4cc26f6e32de44480947d685a9e1320e2b914555 (patch)
tree2dbba5fd6d9d49f45a2141ac8957c261aa7739b5 /src/kicadtoNgspice/Source.py
parent386ff3f5b69c083d73cc0244249b17371a6aac30 (diff)
downloadeSim-4cc26f6e32de44480947d685a9e1320e2b914555.tar.gz
eSim-4cc26f6e32de44480947d685a9e1320e2b914555.tar.bz2
eSim-4cc26f6e32de44480947d685a9e1320e2b914555.zip
Subject: Modified convert to accept current source.
Description: Modified convert to accept current source.
Diffstat (limited to 'src/kicadtoNgspice/Source.py')
-rw-r--r--src/kicadtoNgspice/Source.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/kicadtoNgspice/Source.py b/src/kicadtoNgspice/Source.py
index c2750732..c1bec121 100644
--- a/src/kicadtoNgspice/Source.py
+++ b/src/kicadtoNgspice/Source.py
@@ -52,16 +52,11 @@ class Source(QtGui.QWidget):
self.grid = QtGui.QGridLayout()
self.setLayout(self.grid)
xml_num=0
- """self.ac_check=0
- self.dc_check=0
- self.sine_check=0
- self.pulse_check=0
- self.pwl_check=0
- self.exp_check=0"""
+
if sourcelist:
for line in sourcelist:
#print "Voltage source line index: ",line[0]
- #print "SourceList line Test: ",line
+ print "SourceList line Test: ",line
track_id=line[0]
#print "track_id is ",track_id
if line[2]=='ac':