Changeset 523 for trunk/GSASII.py


Ignore:
Timestamp:
Mar 29, 2012 3:52:03 PM (10 years ago)
Author:
toby
Message:

fix plotting with as-inititalized values (oldxy & Fourier map); fix CIF import; fix command-line load; fix early Destroy in SumDialog?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r519 r523  
    452452            self.GSASprojectfile = arg[1]
    453453            self.dirname = ospath.dirname(arg[1])
    454             os.chdir(self.dirname)
     454            if self.dirname: os.chdir(self.dirname)
    455455            G2IO.ProjFileOpen(self)
    456456            self.PatternTree.Expand(self.root)
    457457            self.Refine.Enable(True)
    458458            self.SeqRefine.Enable(True)
    459             self.Solve.Enable(True)
     459            #self.Solve.Enable(True) # what is this? (BHT)
    460460
    461461    def OnSize(self,event):
     
    839839            parent.Raise()
    840840            self.EndModal(wx.ID_OK)             
    841             self.Destroy()
     841            #self.Destroy() -- do this later, after using GetData
    842842           
    843843        def OnCancel(self,event):
Note: See TracChangeset for help on using the changeset viewer.