Changeset 1906
- Timestamp:
- Jun 23, 2015 12:58:59 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIddataGUI.py
r1902 r1906 833 833 twinsizer = wx.BoxSizer(wx.VERTICAL) 834 834 topsizer = wx.BoxSizer(wx.HORIZONTAL) 835 topsizer.Add(wx.StaticText(DData,wx.ID_ANY,' Merohedral /pseudomerohedraltwins: '),0,WACV)835 topsizer.Add(wx.StaticText(DData,wx.ID_ANY,' Merohedral twins: '),0,WACV) 836 836 addtwin = wx.CheckBox(DData,wx.ID_ANY,label=' Add Twin Law') 837 837 addtwin.Bind(wx.EVT_CHECKBOX, OnAddTwin) -
trunk/GSASIIgrid.py
r1898 r1906 2751 2751 wtval.SetValue('%.3f'%(val)) 2752 2752 2753 def OnCompression(event): 2754 data[0] = int(comp.GetValue()) 2755 2753 2756 def onCopyPlotCtrls(event): 2754 2757 '''Respond to menu item to copy multiple sections from a histogram. … … 2767 2770 if 'wtFactor' not in data[0]: 2768 2771 data[0] = {'wtFactor':1.0} 2772 # if kind == 'PWDR' and 'Compression' not in data[0]: 2773 # data[0]['Compression'] = 1 2769 2774 #if isinstance(data[1],list) and kind == 'HKLF': 2770 2775 if 'list' in str(type(data[1])) and kind == 'HKLF': … … 2799 2804 wtval.Bind(wx.EVT_KILL_FOCUS,OnWtFactor) 2800 2805 wtSizer.Add(wtval,0,WACV) 2806 # if kind == 'PWDR': #possible future compression feature; NB above patch as well 2807 # wtSizer.Add(wx.StaticText(G2frame.dataDisplay,-1,' Compression factor: '),0,WACV) 2808 # choice = ['1','2','3','4','5','6'] 2809 # comp = wx.ComboBox(parent=G2frame.dataDisplay,choices=choice, 2810 # style=wx.CB_READONLY|wx.CB_DROPDOWN) 2811 # comp.SetValue(str(data[0]['Compression'])) 2812 # comp.Bind(wx.EVT_COMBOBOX, OnCompression) 2813 # wtSizer.Add(comp,0,WACV) 2801 2814 mainSizer.Add(wtSizer) 2802 2815 if data[0].get('Dummy'): -
trunk/GSASIIphsGUI.py
r1897 r1906 735 735 try: 736 736 res = float(cutOff.GetValue()) 737 if 1 0.0 <= res <= 100.:737 if 1.0 <= res <= 100.: 738 738 Map['cutOff'] = res 739 739 except ValueError:
Note: See TracChangeset
for help on using the changeset viewer.