Ignore:
Timestamp:
Aug 25, 2014 4:47:28 PM (9 years ago)
Author:
vondreele
Message:

Fix CW & TOF hydrostatic strain calculations & change disply formats
work on TOF size/mustrain calcs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r1455 r1478  
    420420        except ValueError:
    421421            pass
    422         Obj.SetValue("%.5f"%(UseList[hist]['HStrain'][0][pid]))          #reset in case of error
     422        Obj.SetValue("%.3g"%(UseList[hist]['HStrain'][0][pid]))          #reset in case of error
    423423
    424424    def OnPOVal(event):
     
    690690            hstrainRef.Bind(wx.EVT_CHECKBOX, OnHstrainRef)
    691691            hstrainSizer.Add(hstrainRef,0,WACV)
    692             hstrainVal = wx.TextCtrl(DData,wx.ID_ANY,'%.5f'%(val),style=wx.TE_PROCESS_ENTER)
     692            hstrainVal = wx.TextCtrl(DData,wx.ID_ANY,'%.3g'%(val),style=wx.TE_PROCESS_ENTER)
    693693            Indx[hstrainVal.GetId()] = [item,id]
    694694            hstrainVal.Bind(wx.EVT_TEXT_ENTER,OnHstrainVal)
Note: See TracChangeset for help on using the changeset viewer.