Changeset 2426


Ignore:
Timestamp:
Aug 16, 2016 12:26:28 PM (6 years ago)
Author:
vondreele
Message:

apply reverse to seq. results if done in reverse to restore to original order

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2421 r2426  
    18361836        finally:
    18371837            wx.EndBusyCursor()   
     1838        if Reverse:
     1839            names.reverse()
     1840        SeqResult['histNames'] = names
    18381841        Id =  G2gd.GetPatternTreeItemId(G2frame,G2frame.root,'Sequential strain fit results')
    18391842        if Id:
  • trunk/GSASIIpwdGUI.py

    r2421 r2426  
    602602        finally:
    603603            wx.EndBusyCursor()
     604        if Reverse:
     605            Names.reverse()
    604606        SeqResult['histNames'] = Names
    605607        Id =  G2gd.GetPatternTreeItemId(G2frame,G2frame.root,'Sequential peak fit results')
     
    39863988                names.append(choices[sel])
    39873989        dlg.Destroy()
    3988         SeqResult = {'histNames':names}
     3990        SeqResult = {}
    39893991        Reverse = False
    39903992        CopyForward = False
     
    40364038        finally:
    40374039            wx.EndBusyCursor()   
     4040        if Reverse:
     4041            names.reverse()
     4042        SeqResult['histNames'] = names
    40384043        Id =  G2gd.GetPatternTreeItemId(G2frame,G2frame.root,'Sequential SASD results')
    40394044        if Id:
Note: See TracChangeset for help on using the changeset viewer.