diff options
author | GauravSupal | 2015-06-30 14:43:38 +0530 |
---|---|---|
committer | GauravSupal | 2015-06-30 14:43:38 +0530 |
commit | f2201054f1602c2252228adcbc9335d8aa18dbac (patch) | |
tree | 25611e8878b6c0131128eede5916661c71d4aaf9 /src/kicadtoNgspice/Model.py | |
parent | f7cf0e9a67627ed6ce73892a75445ba84e6b9b21 (diff) | |
parent | 0dfbb704aa843baeb75b1f20acbe72fc57ee7707 (diff) | |
download | eSim-f2201054f1602c2252228adcbc9335d8aa18dbac.tar.gz eSim-f2201054f1602c2252228adcbc9335d8aa18dbac.tar.bz2 eSim-f2201054f1602c2252228adcbc9335d8aa18dbac.zip |
Merge pull request #1 from FOSSEE/master
Update
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 |