Skip to content

Commit bfaeefe

Browse files
committed
Add warning about choice of detector type for long scan 2Theta in PDFcontrols
1 parent 41b8c58 commit bfaeefe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GSASII/GSASIIpwdGUI.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9568,6 +9568,8 @@ def OnNoRing(event):
95689568
xmin=0.01,typeHint=float,size=wx.Size(50,20))
95699569
sqBox.Add(rmin,0,WACV)
95709570
sfgSizer.Add(sqBox,0,wx.EXPAND)
9571+
if data['DetType'] == 'Area detector' and fullLimits[1] > 80.:
9572+
sfgSizer.Add(wx.StaticText(G2frame.dataWindow,label=' NB: Detector choice may be in error; use Point detector instead'))
95719573

95729574
bkBox = wx.BoxSizer(wx.HORIZONTAL)
95739575
bkBox.Add(wx.StaticText(G2frame.dataWindow,label=' Background ratio: '),0,WACV)
@@ -9925,6 +9927,7 @@ def OnComputeAllPDF(event):
99259927
data['diffMult'] = 1.0
99269928
if 'GR Scale' not in data:
99279929
data['GR Scale'] = 1.0
9930+
99289931
if powId:
99299932
G2frame.dataWindow.PDFMenu.EnableTop(0,enable=True)
99309933
else:

0 commit comments

Comments
 (0)