Changeset 4338


Ignore:
Timestamp:
Mar 3, 2020 9:55:34 AM (20 months ago)
Author:
vondreele
Message:

fix bug in integrate when no spot mask default set up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r4333 r4338  
    441441        CleanupMasks(masks)
    442442        sumImg = GetImageZ(G2frame,data)
    443         if not masks['SpotMask']['spotMask'] is None:
     443        if not masks.get('SpotMask',{'spotMask':None})['spotMask'] is None:
    444444            sumImg = ma.array(sumImg,mask=masks['SpotMask']['spotMask'])
    445445        G2frame.Integrate = G2img.ImageIntegrate(sumImg,data,masks,blkSize,useTA=useTA,useMask=useMask)           
Note: See TracChangeset for help on using the changeset viewer.