Changeset 794 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Oct 24, 2012 11:46:26 AM (10 years ago)
Author:
vondreele
Message:

still more iparm fixes - maybe that's all of them?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r793 r794  
    536536            G2frame.PatternTree.SetItemPyData(G2frame.PatternTree.AppendItem(Id,text='Background'),[['chebyschev',1,3,1.0,0.0,0.0],
    537537                            {'nDebye':0,'debyeTerms':[],'nPeaks':0,'peaksList':[]}])
    538             G2frame.PatternTree.SetItemPyData(G2frame.PatternTree.AppendItem(Id,text='Instrument Parameters'),dict(zip(names,zip(parms,parms,codes))))
     538            inst = dict(zip(names,zip(parms,parms,codes)))
     539            for item in inst:
     540                inst[item] = list(inst[item])
     541            G2frame.PatternTree.SetItemPyData(G2frame.PatternTree.AppendItem(Id,text='Instrument Parameters'),inst)
    539542            G2frame.PatternTree.SetItemPyData(G2frame.PatternTree.AppendItem(Id,text='Sample Parameters'),Sample)
    540543            G2frame.PatternTree.SetItemPyData(G2frame.PatternTree.AppendItem(Id,text='Peak List'),[])
Note: See TracChangeset for help on using the changeset viewer.