Changeset 1631


Ignore:
Timestamp:
Jan 15, 2015 3:16:45 PM (8 years ago)
Author:
toby
Message:

fix seq ref table for older .gpx files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r1627 r1631  
    32583258            if 'IMG' in name:
    32593259                for item in sampleParmDict:
    3260                     sampleParmDict[item].append(data[name]['parmDict'][item])
     3260                    sampleParmDict[item].append(data[name]['parmDict'].get(item,0))
    32613261            else:
    32623262                Id = GetPatternTreeItemId(G2frame,G2frame.root,name)
    32633263                sampleData = G2frame.PatternTree.GetItemPyData(GetPatternTreeItemId(G2frame,Id,'Sample Parameters'))
    32643264                for item in sampleParmDict:
    3265                     sampleParmDict[item].append(sampleData[item])
     3265                    sampleParmDict[item].append(sampleData.get(item,0))
    32663266        for item in sampleParmDict:
    32673267            frstValue = sampleParmDict[item][0]
     
    39973997        Types += [wg.GRID_VALUE_FLOAT+':10,3',]
    39983998    # add % change in Chi^2 in last cycle
    3999     if histNames[0][:4] not in ['SASD','IMG '] and Controls['ShowCell']:
     3999    if histNames[0][:4] not in ['SASD','IMG '] and Controls.get('ShowCell'):
    40004000        colList += [[100.*data[name]['Rvals'].get('DelChi2',-1) for name in histNames]]
    40014001        colSigs += [None]
Note: See TracChangeset for help on using the changeset viewer.