Changeset 271 for trunk/GSASII.py


Ignore:
Timestamp:
Apr 28, 2011 1:11:32 PM (11 years ago)
Author:
vondreele
Message:

make g77 versions of fortran for binwin2.7 - faster than gfortran!
fix to histogram2d.for
GSASII.py - allow 2D offset in multiplots, fix for large file lists
GSASIIimgGUI.py - more stuff in save/load controls
GSASIIplot.py - 2D offset in multiplots, fix bad behavior in structure drawings
GSASIIpwd.py - more mods to PDF calcs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r267 r271  
    252252        self.dirname = ''
    253253        self.undofile = ''
    254         self.Offset = 0.0
     254        self.Offset = [0.0,0.0]
    255255        self.Weight = False
    256256        self.IparmName = ''
     
    544544            mainSizer.Add(topLabl,0,wx.ALIGN_CENTER_VERTICAL|wx.LEFT,10)
    545545            mainSizer.Add((10,10),1)
    546             dataGridSizer = wx.FlexGridSizer(rows=len(data),cols=2,hgap=2,vgap=2)
     546            ncols = len(data)/40+1
     547            dataGridSizer = wx.FlexGridSizer(rows=len(data),cols=ncols,hgap=2,vgap=2)
    547548            for id,item in enumerate(self.data):
    548549                ckbox = wx.CheckBox(panel,id,item[1])
     
    583584           
    584585        def GetData(self):
    585                 return self.data
     586            return self.data
    586587       
    587588    class SumDialog(wx.Dialog):
     
    10131014                    while item and not Id:
    10141015                        name = self.PatternTree.GetItemText(item)
    1015                         if name[:4] in ['PWDR','HKLF','IMG','PDF']:
     1016                        if name[:4] in ['PWDR','HKLF','IMG ','PDF ']:
    10161017                            Id = item
    10171018                        elif name == 'Controls':
     
    12341235       
    12351236    def OnExportPDF(self,event):
     1237        #need S(Q) and G(R) to be saved here - probably best from selection?
    12361238        event.Skip()
    12371239       
     
    12811283                        self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='F(Q)'+PWDRname),[])       
    12821284                        self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='G(R)'+PWDRname),[])       
     1285                self.ExportPDF.Enable(True)
    12831286            finally:
    12841287                dlg.Destroy()
Note: See TracChangeset for help on using the changeset viewer.