Ignore:
Timestamp:
Apr 12, 2020 8:46:57 PM (3 years ago)
Author:
toby
Message:

major refactoring & corrections to ISODISTORT mode import and computations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4396 r4399  
    10411041                sub = GetGPXtreeItemId(self,self.root,'Constraints') # was created in CheckNotebook if needed
    10421042                Constraints = self.GPXtree.GetItemPyData(sub)               
    1043                 # TODO: make sure that NEWVAR names are unique here?
    10441043                for i in rd.Constraints:
    10451044                    if type(i) is dict:
    1046                         #for j in i: print j,' --> ',i[j]
    10471045                        if '_Explain' not in Constraints: Constraints['_Explain'] = {}
    10481046                        Constraints['_Explain'].update(i)
     
    53095307#            help='Add H atom riding constraints between atom parameter values')
    53105308#        self.ConstraintEdit.Enable(G2G.wxID_ADDRIDING,False)
     5309        G2G.Define_wxId('wxID_SHOWISO')
     5310        self.ConstraintEdit.Append(G2G.wxID_SHOWISO,'Show ISODISTORT modes',
     5311                'Show ISODISTORT mode values for all phases')
     5312        self.ConstraintEdit.Enable(G2G.wxID_SHOWISO,False)
     5313        # for DEBUG only
     5314        #def OnShowISODISTORT(event):
     5315        #    import imp
     5316        #    imp.reload(G2cnstG)  # for testing changes to GSASIIconstrGUI
     5317        #    G2cnstG.ShowIsoDistortCalc(G2frame)
     5318        #G2frame.Bind(wx.EVT_MENU, OnShowISODISTORT, id=G2G.wxID_SHOWISO)
     5319        # end DEBUG
     5320       
    53115321        self.PostfillDataMenu()
    53125322
Note: See TracChangeset for help on using the changeset viewer.