Changeset 1053 for trunk/GSASIIstrIO.py


Ignore:
Timestamp:
Sep 9, 2013 4:05:04 PM (10 years ago)
Author:
toby
Message:

fix mask with no excluded regions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r1045 r1053  
    22732273            for excl in controlDict[pfx+'Exclude']:
    22742274                Histogram['Data'][0] = ma.masked_inside(Histogram['Data'][0],excl[0],excl[1])
    2275             ma.mask_rows(Histogram['Data'])
     2275            if controlDict[pfx+'Exclude']:
     2276                ma.mask_rows(Histogram['Data'])
    22762277            Background = Histogram['Background']
    22772278            Type,bakDict,bakVary = GetBackgroundParms(hId,Background)
Note: See TracChangeset for help on using the changeset viewer.