diff options
author | fahim | 2015-06-26 15:20:04 +0530 |
---|---|---|
committer | fahim | 2015-06-26 15:20:04 +0530 |
commit | cccbbb3827b898b471131d905b197795ba4b5e5b (patch) | |
tree | 50fc073bc94f5552bf2ca5def13c7e338bbc0a0b /src/kicadtoNgspice/Model.py | |
parent | 1de6706596194718b45ea0209538e70811bc3f4b (diff) | |
download | eSim-cccbbb3827b898b471131d905b197795ba4b5e5b.tar.gz eSim-cccbbb3827b898b471131d905b197795ba4b5e5b.tar.bz2 eSim-cccbbb3827b898b471131d905b197795ba4b5e5b.zip |
Subject: Added feature for initial voltage condition
Description: Added feature for initial voltage condition
Diffstat (limited to 'src/kicadtoNgspice/Model.py')
-rw-r--r-- | src/kicadtoNgspice/Model.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kicadtoNgspice/Model.py b/src/kicadtoNgspice/Model.py index 984c47f0..d1edd5a6 100644 --- a/src/kicadtoNgspice/Model.py +++ b/src/kicadtoNgspice/Model.py @@ -15,7 +15,9 @@ class Model(QtGui.QWidget): def __init__(self,schematicInfo,modelList): + QtGui.QWidget.__init__(self) + #Processing for getting previous values kicadFile = sys.argv[1] (projpath,filename)=os.path.split(kicadFile) project_name=os.path.basename(projpath) @@ -33,7 +35,7 @@ class Model(QtGui.QWidget): print "Empty XML" - QtGui.QWidget.__init__(self) + #Creating track widget object self.obj_trac = TrackWidget.TrackWidget() @@ -124,7 +126,7 @@ class Model(QtGui.QWidget): #This keeps the track of Model Tab Widget self.obj_trac.modelTrack.append([line[0],line[1],line[2],line[3],line[4],line[5],line[6],self.start,self.end,tag_dict]) - + print "The tag dictionary : ",tag_dict |