Changeset 1655 for trunk/GSASIIddataGUI.py
- Timestamp:
- Feb 13, 2015 1:35:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIddataGUI.py
r1559 r1655 159 159 160 160 def OnCopyData(event): 161 #how about HKLF data? This is only for PWDR data162 161 Obj = event.GetEventObject() 163 162 hist = Indx[Obj.GetId()] … … 196 195 if name in ['Scale','Extinction','HStrain']: 197 196 if name == 'Extinction' and 'HKLF' in sourceDict['Histogram']: 198 copyDict[name] = {name:[sourceDict[name][: 1]]}197 copyDict[name] = {name:[sourceDict[name][:2]]} 199 198 for item in ['Eg','Es','Ep']: 200 199 copyDict[name][item] = sourceDict[name][2][item][1] … … 228 227 if name in ['Scale','Extinction','HStrain']: 229 228 if name == 'Extinction' and 'HKLF' in sourceDict['Histogram']: 230 UseList[item][name][: 1] = copy.deepcopy(sourceDict[name][:1])229 UseList[item][name][:2] = copy.deepcopy(sourceDict[name][:2]) 231 230 for itm in ['Eg','Es','Ep']: 232 231 UseList[item][name][2][itm][1] = copy.deepcopy(copyDict[name][itm])
Note: See TracChangeset
for help on using the changeset viewer.