Changeset 2051 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Nov 13, 2015 4:36:21 PM (6 years ago)
Author:
toby
Message:

address crash on selecting Q steps (now capitalized): change all CallAfter? to CallLater? for UpdateImageControls? calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r2045 r2051  
    865865    if 'log(q)' in data['binType']:
    866866        lutth = np.log(4.*np.pi*npsind(LUtth/2.)/data['wavelength'])
    867     elif 'q' == data['binType']:
     867    elif 'Q' == data['binType']:
    868868        lutth = 4.*np.pi*npsind(LUtth/2.)/data['wavelength']
    869869    elif '2-theta' in data['binType']:
     
    913913            if 'log(q)' in data['binType']:
    914914                tay = np.log(4.*np.pi*npsind(tay/2.)/data['wavelength'])
    915             elif 'q' == data['binType']:
     915            elif 'Q' == data['binType']:
    916916                tay = 4.*np.pi*npsind(tay/2.)/data['wavelength']
    917917            t0 = time.time()
     
    930930    if 'log(q)' in data['binType']:
    931931        H2 = 2.*npasind(np.exp(H2)*data['wavelength']/(4.*np.pi))
    932     elif 'q' == data['binType']:
     932    elif 'Q' == data['binType']:
    933933        H2 = 2.*npasind(H2*data['wavelength']/(4.*np.pi))
    934934    if Dazm:       
Note: See TracChangeset for help on using the changeset viewer.