Changeset 2978 for branch


Ignore:
Timestamp:
Aug 9, 2017 12:04:24 PM (6 years ago)
Author:
vondreele
Message:

fix plot clipping problem
fix a OnFileClose? problem
fix a import phase from gpx file problem

Location:
branch/2frame
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branch/2frame/GSASIIdataGUI.py

    r2977 r2978  
    36753675                self.GPXtree.SetItemText(self.root,'Project: ')
    36763676                self.GPXtree.DeleteChildren(self.root)
    3677                 if self.HKL: self.HKL = []
     3677                self.dataWindow.ClearData()
     3678                if len(self.HKL): self.HKL = []
    36783679                if self.G2plotNB.plotList:
    36793680                    self.G2plotNB.clear()
  • branch/2frame/GSASIIplot.py

    r2976 r2978  
    2525import mpl_toolkits.mplot3d.axes3d as mp3d
    2626import GSASIIpath
     27Clip_on = GSASIIpath.GetConfigValue('Clip_on',True)
    2728GSASIIpath.SetVersionNumber("$Revision$")
    2829import GSASIIdataGUI as G2gd
  • branch/2frame/imports/G2phase_GPX.py

    r2940 r2978  
    6767        self.Phase['RBModels'] = {}
    6868        del self.Phase['MCSA']
    69         del self.Phase['Map Peaks']
     69        if 'Map Peaks' in self.Phase:
     70            del self.Phase['Map Peaks']
    7071        del self.Phase['General']['Map']
    7172        self.Phase['ranId'] = ran.randint(0,sys.maxint)
Note: See TracChangeset for help on using the changeset viewer.