Ignore:
Timestamp:
May 16, 2017 4:02:31 PM (5 years ago)
Author:
vondreele
Message:

add self.scriptable=False to ImportBaseClass?
set it True in various PWDR readers
when selecting points for image calibration, shift key forces selection at cursor
Status bar text changes to reflect this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIscriptable.py

    r2825 r2835  
    115115                for a PWDR entry in  GSASII data tree.       
    116116    '''
    117     readerlist = ['G2pwd_fxye','G2pwd_xye','G2pwd_BrukerRAW','G2pwd_csv','G2pwd_FP',
    118         'G2pwd_Panalytical','G2pwd_rigaku']
    119     if reader not in readerlist:
    120         print '**** ERROR: unrecognized reader ',reader
     117    if not reader.scriptable:
     118        print '**** ERROR: not a scriptable reader ',reader
    121119        return None
    122120    rdfile,rdpath,descr = imp.find_module(reader)
Note: See TracChangeset for help on using the changeset viewer.