Changeset 1955 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Aug 11, 2015 9:35:20 AM (8 years ago)
Author:
vondreele
Message:

Add error message for TOF calibration if peak positions weren't fitted
fix a bug in SS structure factor calc.
put debug prints back in GetSSfxuinel; now only if debug=True

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r1945 r1955  
    12201220            G2frame.ErrorDialog('Can not calibrate','Index Peak List empty')
    12211221            return
     1222        if not np.any(IndexPeaks[1]):
     1223            G2frame.ErrorDialog('Can not calibrate','Peak positions not refined')
     1224            return False
    12221225        Ok = False
    12231226        for peak in IndexPeaks[0]:
Note: See TracChangeset for help on using the changeset viewer.