Ignore:
Timestamp:
Jan 14, 2018 11:28:10 AM (5 years ago)
Author:
toby
Message:

fix histogram export file naming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIscriptable.py

    r3216 r3223  
    20362036        enums = ['x', 'yobs', 'yweight', 'ycalc', 'background', 'residual']
    20372037        if datatype.lower() not in enums:
    2038             raise G2ScriptException("Invalid datatype = "+datatype+" must be one of "+enums)
     2038            raise G2ScriptException("Invalid datatype = "+datatype+" must be one of "+str(enums))
    20392039        return self.data['data'][1][enums.index(datatype.lower())]
    20402040       
Note: See TracChangeset for help on using the changeset viewer.