Changeset 2700 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Feb 11, 2017 10:02:44 AM (5 years ago)
Author:
vondreele
Message:

fix issues withh single/multiscan Bruker raw files
recover Temperature from Bruker multiscan files
fix issues with SetItemPyData? for SeqData? in various places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2697 r2700  
    19391939                SeqResult = {}
    19401940                Id = G2frame.PatternTree.AppendItem(parent=G2frame.root,text='Sequential strain fit results')
    1941                 G2frame.PatternTree.SetItemPyData(Id,SeqResult)
    19421941            SeqResult.update({'SeqPseudoVars':{},'SeqParFitEqList':[]})
    19431942        else:
     
    19701969                if not GoOn:
    19711970                    break
    1972                 Id =  G2gd.GetPatternTreeItemId(G2frame,G2frame.root,name)
    1973                 G2frame.Image = Id
    1974                 Controls = G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,Id, 'Image Controls'))
    1975                 StaCtrls = G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,Id, 'Stress/Strain'))
     1971                sId =  G2gd.GetPatternTreeItemId(G2frame,G2frame.root,name)
     1972                G2frame.Image = sId
     1973                Controls = G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,sId, 'Image Controls'))
     1974                StaCtrls = G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,sId, 'Stress/Strain'))
    19761975                if not len(StaCtrls['d-zero']):
    19771976                    continue
    19781977                goodnames.append(name)
    1979                 Npix,imagefile,imagetag = G2frame.PatternTree.GetImageLoc(Id)
     1978                Npix,imagefile,imagetag = G2frame.PatternTree.GetImageLoc(sId)
    19801979                image = GetImageZ(G2frame,Controls)
    19811980                sig = []
     
    20102009            wx.EndBusyCursor()   
    20112010        SeqResult['histNames'] = choices
     2011        G2frame.PatternTree.SetItemPyData(Id,SeqResult)
    20122012        G2frame.PatternTree.SelectItem(Id)
    20132013        print 'All images fitted'
Note: See TracChangeset for help on using the changeset viewer.