Changeset 4187


Ignore:
Timestamp:
Oct 23, 2019 1:43:18 PM (3 years ago)
Author:
toby
Message:

Add dummy flag for scripted simulations; fix command line file read on Mac

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4186 r4187  
    29482948                #open the file if possible
    29492949                if sys.platform == "darwin": # on Mac delay a bit so GUI can open
    2950                     wx.CallLater(100,self.StartProject)
     2950                    wx.CallAfter(self.StartProject)
    29512951                else:
    29522952                    self.StartProject()
     
    38943894        display (PWDR, HKLF, REFD or SASD)
    38953895        '''
    3896        
     3896
    38973897        Id = 0
    38983898        phaseId = None
     
    49714971    that may be doing the same thing.
    49724972    '''
    4973     # TODO: debug code ######################################################################
    4974 #    def Bind(self,eventtype,handler,*args,**kwargs):  # PATCH: debug code: catch when a menu is bind'ed to
    4975 #        # the dataWindow as this should not be done in the 2 frame version.
    4976 #        if eventtype == wx.wx.EVT_MENU:
    4977 #            print 'wx.EVT_MENU Bind to dataWindow'
    4978 #            G2obj.HowDidIgetHere(True)
    4979 #            wx.Frame.Bind(self.GetTopLevelParent(),eventtype,handler,*args,**kwargs)
    4980 #        else:
    4981 #            wxscroll.ScrolledPanel.Bind(self,eventtype,handler,*args,**kwargs)
    4982 #    def DestroyChildren(self):
    4983 #        print 'Fix this: dataWindow.DestroyChildren called'
    4984 #        G2obj.HowDidIgetHere()
    4985 #    def SetTitle(self,*args):
    4986 #        print('Warning: attempt to label dataWindow')
    4987 #        G2obj.HowDidIgetHere(True)
    4988 #        self.G2frame.SetTitle(*args)
    4989 #    def SetLabel(self,*args):
    4990 #        print('Warning: attempt to label dataWindow')
    4991 #        G2obj.HowDidIgetHere(True)
    4992 #        self.G2frame.SetTitle(*args)
    4993     # end TODO: remove this later ############################################################
    49944973
    49954974    def __init__(self,parent):
  • trunk/GSASIIscriptable.py

    r4162 r4187  
    20592059           
    20602060        self.set_Controls('cycles', 0)
     2061        self.data[histname]['data'][0]['Dummy'] = True
    20612062        return self.histogram(histname)
    20622063   
Note: See TracChangeset for help on using the changeset viewer.