Changeset 1406


Ignore:
Timestamp:
Jul 3, 2014 10:50:54 AM (7 years ago)
Author:
toby
Message:

bug fix for older GPX files with tuples in instrument parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r1404 r1406  
    13031303               
    13041304    # beginning of UpdateInstrumentGrid code   
     1305    #patch: make sure all parameter items are lists
     1306    patched = 0
     1307    for key in data:
     1308        if type(data[key]) is tuple:
     1309            data[key] = list(data[key])
     1310            patched += 1
     1311    if patched: print patched,' instrument parameters changed from tuples'
     1312    #end of patch
    13051313    labelLst,elemKeysLst,dspLst,refFlgElem = [],[],[],[]
    13061314    instkeys = keycheck(data.keys())
Note: See TracChangeset for help on using the changeset viewer.