Changeset 2019


Ignore:
Timestamp:
Oct 20, 2015 1:45:54 PM (8 years ago)
Author:
toby
Message:

put autoint into debug mode

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2016 r2019  
    11101110        self.ImageEdit.Append(help='Load image controls from file',
    11111111            id=wxID_IMLOADCONTROLS, kind=wx.ITEM_NORMAL,text='Load Controls')
    1112         try: # remove after AutoInt is completed
     1112        if GSASIIpath.GetConfigValue('debug'):
    11131113            import autoint
    11141114            self.ImageEdit.Append(help='Open Auto-integration window to integrate a series of images',
    11151115                id=wxID_IMAUTOINTEG, kind=wx.ITEM_NORMAL,text='Auto Integrate')
    1116             print "development code: AutoInt found"
    1117         except ImportError:
    1118             pass
    11191116        self.PostfillDataMenu()
    11201117           
  • trunk/GSASIIimgGUI.py

    r1994 r2019  
    10531053    G2frame.dataFrame.Bind(wx.EVT_MENU, OnSaveControls, id=G2gd.wxID_IMSAVECONTROLS)
    10541054    G2frame.dataFrame.Bind(wx.EVT_MENU, OnLoadControls, id=G2gd.wxID_IMLOADCONTROLS)
    1055     try: # remove after AutoInt is completed
     1055    if GSASIIpath.GetConfigValue('debug'):
    10561056        import autoint
    10571057        def OnAutoInt(event):
    10581058            frame = autoint.AutoIntFrame(G2frame,PollTime=5.0)
    1059 
    10601059        G2frame.dataFrame.Bind(wx.EVT_MENU, OnAutoInt, id=G2gd.wxID_IMAUTOINTEG)
    1061         print "development code: AutoInt found"
    1062     except ImportError:
    1063         pass
    10641060    G2frame.dataDisplay = wx.Panel(G2frame.dataFrame)
    10651061
Note: See TracChangeset for help on using the changeset viewer.