Changeset 2514 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Nov 4, 2016 9:21:09 AM (6 years ago)
Author:
vondreele
Message:

change default for Bank from None to 1 in G2IO
put in patch in G2pwdGUI to fix fail on old gpx files where bank = None

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r2506 r2514  
    16421642        instSizer = wx.FlexGridSizer(0,6,5,5)
    16431643        subSizer = wx.BoxSizer(wx.HORIZONTAL)
     1644        if insVal['Bank'] == None:      #patch
     1645            insVal['Bank'] = 1
    16441646        text = ' Histogram Type: %s  Bank: %d'%(insVal['Type'],insVal['Bank'])
    16451647        subSizer.Add(wx.StaticText(G2frame.dataDisplay,-1,text),0,WACV)
Note: See TracChangeset for help on using the changeset viewer.