Ignore:
Timestamp:
Aug 3, 2014 3:13:15 PM (7 years ago)
Author:
vondreele
Message:

fix ddata copy flags so it copies extinction models as well as refine flags
more fixes to derivatives,

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r1453 r1455  
    196196            if name in ['Scale','Extinction','HStrain']:
    197197                if name == 'Extinction' and 'HKLF' in sourceDict['Histogram']:
    198                     copyDict[name] = {}
     198                    copyDict[name] = {name:[sourceDict[name][:1]]}
    199199                    for item in ['Eg','Es','Ep']:
    200200                        copyDict[name][item] = sourceDict[name][2][item][1]
     
    228228                            if name in ['Scale','Extinction','HStrain']:
    229229                                if name == 'Extinction' and 'HKLF' in sourceDict['Histogram']:
     230                                    UseList[item][name][:1] = copy.copy(sourceDict[name][:1])
    230231                                    for itm in ['Eg','Es','Ep']:
    231                                         UseList[item][name][2][itm][1] = copy.copy(copyDict[name][itm])                                 
     232                                        UseList[item][name][2][itm][1] = copy.copy(copyDict[name][itm])
    232233                                else:
    233234                                    UseList[item][name][1] = copy.copy(copyDict[name])
Note: See TracChangeset for help on using the changeset viewer.