Changeset 3391 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
May 16, 2018 12:03:35 PM (4 years ago)
Author:
vondreele
Message:

fix copy of Instrument parameters to not copy the Azimuth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r3365 r3391  
    17051705            return
    17061706        copyList = []
     1707        copyData = copy.deepcopy(data)
     1708        del copyData['Azimuth'] #not to be copied!
    17071709        instType = data['Type'][0]
    17081710        dlg = G2G.G2MultiChoiceDialog(G2frame,'Copy inst params from\n'+hst,
     
    17201722                instData['Bank'] = [1,1,0]
    17211723            if len(data) == len(instData) and instType == instData['Type'][0]:  #don't mix data types or lam & lam1/lam2 parms!
    1722                 instData.update(data)
     1724                instData.update(copyData)
    17231725            else:
    17241726                print (item+' not copied - instrument parameters not commensurate')
Note: See TracChangeset for help on using the changeset viewer.