Changeset 519 for trunk/GSASII.py


Ignore:
Timestamp:
Mar 11, 2012 12:50:03 PM (10 years ago)
Author:
vondreele
Message:

fixes to ViewParmDialog? try to get size right
add copy of refinement flags to various parameters
put some comment section breaks in
fix to eA derivative & wRp in seq refinement
add to help/gsasII.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r515 r519  
    534534                            Tmax = max(data[0])
    535535                            self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='Limits'),[(Tmin,Tmax),[Tmin,Tmax]])
    536                             self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='Background'),[['chebyschev',1,3,1.0,0.0,0.0],
     536                            self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='Background'),[['chebyschev',True,3,1.0,0.0,0.0],
    537537                                {'nDebye':0,'debyeTerms':[],'nPeaks':0,'peaksList':[]}])
    538538       
     
    932932                        self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='Comments'),Comments)                   
    933933                        self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='Limits'),[tuple(Xminmax),Xminmax])
    934                         self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='Background'),[['chebyschev',1,3,1.0,0.0,0.0],
     934                        self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='Background'),[['chebyschev',True,3,1.0,0.0,0.0],
    935935                            {'nDebye':0,'debyeTerms':[],'nPeaks':0,'peaksList':[]}])
    936936                        self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='Instrument Parameters'),Inst)
     
    15361536    class ViewParmDialog(wx.Dialog):
    15371537        def __init__(self,parent,title,parmDict):
    1538             wx.Dialog.__init__(self,parent,-1,title,size=(260,430),
     1538            wx.Dialog.__init__(self,parent,-1,title,size=(300,430),
    15391539                pos=wx.DefaultPosition,style=wx.DEFAULT_DIALOG_STYLE)
    1540             panel = wx.Panel(self,size=(260,430))
     1540            panel = wx.Panel(self,size=(300,430))
    15411541            parmNames = parmDict.keys()
    15421542            parmNames.sort()
     
    15491549                    pass
    15501550            parmTable = wx.TextCtrl(panel,-1,parmText,
    1551                 style=wx.TE_MULTILINE|wx.TE_READONLY,size=(250,400))
     1551                style=wx.TE_MULTILINE|wx.TE_READONLY,size=(290,400))
    15521552            mainSizer = wx.BoxSizer(wx.VERTICAL)
    15531553            mainSizer.Add(parmTable)
Note: See TracChangeset for help on using the changeset viewer.