Changeset 2652


Ignore:
Timestamp:
Jan 21, 2017 8:34:40 AM (5 years ago)
Author:
vondreele
Message:

fix problem in fit background when no peaks in peaklist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r2651 r2652  
    17681768            binsperFWHM.append(0.)
    17691769    if peakVary: PeaksPrint(dataType,parmDict,sigDict,varyList,binsperFWHM)
    1770     if min(binsperFWHM) < 3.:
     1770    if len(binsperFWHM) and min(binsperFWHM) < 3.:
    17711771        print '*** Warning: calculated peak widths are too narrow to refine profile coefficients ***'
    17721772        if 'T' in Inst['Type'][0]:
Note: See TracChangeset for help on using the changeset viewer.