Ignore:
Timestamp:
Feb 13, 2015 1:35:55 PM (8 years ago)
Author:
vondreele
Message:

add a Show/Hide? command in the phase/data menu
add importer for ISIS SXD data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r1559 r1655  
    159159       
    160160    def OnCopyData(event):
    161         #how about HKLF data? This is only for PWDR data
    162161        Obj = event.GetEventObject()
    163162        hist = Indx[Obj.GetId()]
     
    196195            if name in ['Scale','Extinction','HStrain']:
    197196                if name == 'Extinction' and 'HKLF' in sourceDict['Histogram']:
    198                     copyDict[name] = {name:[sourceDict[name][:1]]}
     197                    copyDict[name] = {name:[sourceDict[name][:2]]}
    199198                    for item in ['Eg','Es','Ep']:
    200199                        copyDict[name][item] = sourceDict[name][2][item][1]
     
    228227                            if name in ['Scale','Extinction','HStrain']:
    229228                                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])
    231230                                    for itm in ['Eg','Es','Ep']:
    232231                                        UseList[item][name][2][itm][1] = copy.deepcopy(copyDict[name][itm])
Note: See TracChangeset for help on using the changeset viewer.