Changeset 4164


Ignore:
Timestamp:
Sep 30, 2019 10:05:53 AM (2 years ago)
Author:
vondreele
Message:

avoid Dysnomia choice for single crystal data - makes no sense

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4153 r4164  
    22412241            line2Sizer.Add(cutOff,0,WACV)
    22422242            if len(Map['RefList']) and not generalData['Modulated']:
    2243                 Dysno = wx.CheckBox(General,-1,label=' Use Dysnomia (Max. Ent. Method)?')
    2244                 Dysno.SetValue(generalData['doDysnomia'])
    2245                 Dysno.Bind(wx.EVT_CHECKBOX,OnDysnomia)
    2246                 line2Sizer.Add(Dysno,0,WACV)
     2243                if all(['PWDR' in map for map in Map['RefList']]):
     2244                    Dysno = wx.CheckBox(General,-1,label=' Use Dysnomia (Max. Ent. Method)?')
     2245                    Dysno.SetValue(generalData['doDysnomia'])
     2246                    Dysno.Bind(wx.EVT_CHECKBOX,OnDysnomia)
     2247                    line2Sizer.Add(Dysno,0,WACV)
    22472248            mapSizer.Add(line2Sizer,0,WACV)
    22482249            return mapSizer
Note: See TracChangeset for help on using the changeset viewer.