Changeset 4301 for trunk/GSASIIplot.py
- Timestamp:
- Feb 13, 2020 7:26:18 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4300 r4301 7678 7678 MaskA = ma.getmaskarray(MA)^Masks['SpotMask']['spotMask'] 7679 7679 MA = ma.array(MA,mask=MaskA) 7680 except KeyError: 7681 MaskA = ma.getmaskarray(MA) 7680 except KeyError: # should not be needed if initializtion is proper 7681 if GSASIIpath.GetConfigValue('debug'): print('SpotMask missing') 7682 MaskA = ma.getmaskarray(MA) 7683 except TypeError: # needed if spotMasks set to initial value (None) 7684 if GSASIIpath.GetConfigValue('debug'): print('spotMask is None') 7685 MaskA = ma.getmaskarray(MA) 7682 7686 for xline in Masks.get('Xlines',[]): 7683 7687 MaskA[xline,:] = True
Note: See TracChangeset
for help on using the changeset viewer.