Changeset 2759
- Timestamp:
- Mar 23, 2017 12:08:06 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIgrid.py
r2755 r2759 1497 1497 self.globVars = list(set([' ',]+[item[2] for item in splitNames if not item[0] and not item[1]])) 1498 1498 self.globVars.sort() 1499 self.hisNames = [':'.join(item) for item in splitNames if not item[0] ]1499 self.hisNames = [':'.join(item) for item in splitNames if not item[0] and item[1]] 1500 1500 self.hisNums = list(set([int(item.split(':')[1]) for item in self.hisNames])) 1501 1501 self.hisNums.sort() -
trunk/GSASIIimgGUI.py
r2742 r2759 1375 1375 def OnAutoSpotMask(event): 1376 1376 'Do auto search for spot masks' 1377 if wx.MessageDialog(G2frame.dataDisplay,'NB: This will clear any old spot masks','Auto Spot Masks', wx.OK|wx.CANCEL).ShowModal() == wx.ID_OK: 1377 if wx.MessageDialog(G2frame.dataDisplay,'NB: This will clear any old spot masks', 1378 'Auto Spot Masks', wx.OK|wx.CANCEL).ShowModal() == wx.ID_OK: 1378 1379 Controls = copy.deepcopy(G2frame.PatternTree.GetItemPyData( 1379 G2gd.GetPatternTreeItemId(G2frame,G2frame.PatternId,'Image Controls')))1380 G2gd.GetPatternTreeItemId(G2frame,G2frame.Image,'Image Controls'))) 1380 1381 Error = G2img.AutoSpotMasks(G2frame.ImageZ,data,Controls) 1381 1382 if not Error is None:
Note: See TracChangeset
for help on using the changeset viewer.