Changeset 1964 for trunk/GSASIIindex.py


Ignore:
Timestamp:
Aug 28, 2015 9:25:44 AM (7 years ago)
Author:
vondreele
Message:

fix bug in atomadd for SS structures
make sure ComboBoxes? are READONLY
fix IndexPeaks? error - pointer got changed to float (via np.array?); now force to int.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIindex.py

    r1637 r1964  
    330330            hkl = HKL[pos]                                 # put in hkl
    331331            if hkl[-1] >= 0:                                 # peak already assigned - test if this one better
    332                 opeak = peaks[hkl[-1]]
     332                opeak = peaks[int(hkl[-1])]                 #hkl[-1] needs to be int here
    333333                dold = abs(opeak[-2]-hkl[3])
    334334                dnew = min(dm,dp)
Note: See TracChangeset for help on using the changeset viewer.