Changeset 2770
- Timestamp:
- Apr 2, 2017 8:15:22 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r2755 r2770 665 665 self.PatternTree.Expand(sub) 666 666 self.PatternTree.Expand(psub) 667 self.PatternTree.SelectItem(psub) # show the page to complete the initialization (yuk!) 668 wx.Yield() # make sure call of GSASII.OnDataTreeSelChanged happens before we go on 667 wx.CallAfter(G2gd.SelectDataTreeItem,self,psub) #bring up new phase General tab 669 668 670 669 if rd.Constraints: … … 693 692 item, cookie = self.PatternTree.GetNextChild(self.root, cookie) 694 693 TextList = PWDRlist + HKLFlist 695 if not len(TextList): return # no data loaded yet 694 if not TextList: 695 return #no histograms 696 696 header = 'Select histogram(s) to add to new phase(s):' 697 697 for phaseName in newPhaseList: … … 771 771 wx.EndBusyCursor() 772 772 self.EnableRefineCommand() 773 773 774 return # success 774 775 -
trunk/GSASIIphsGUI.py
r2750 r2770 5556 5556 refDict,reflData = G2frame.PatternTree.GetItemPyData(Id) 5557 5557 UseList[histoName] = {'Histogram':histoName,'Show':False,'Scale':[1.0,True], 5558 'Babinet':{'BabA':[0.0,False],'BabU':[0.0,False]}, 'LeBail':False,'newLeBail':True,5558 'Babinet':{'BabA':[0.0,False],'BabU':[0.0,False]}, 5559 5559 'Extinction':['Lorentzian','None', 5560 5560 {'Tbar':0.1,'Cos2TM':0.955,'Eg':[1.e-7,False],'Es':[1.e-7,False],'Ep':[1.e-7,False]},], -
trunk/GSASIIpwdGUI.py
r2768 r2770 2873 2873 value = 90. 2874 2874 SetCellValue(Obj,ObjId/2,value) 2875 OnHklShow(event) 2875 2876 wx.CallAfter(UpdateUnitCellsGrid,G2frame,data) 2876 2877 -
trunk/GSASIIstrIO.py
r2766 r2770 2305 2305 if hapData['Babinet']['BabA'][0]: 2306 2306 PrintBabinet(hapData['Babinet']) 2307 if resetRefList and hapDict[pfx+'newLeBail']:2307 if resetRefList and (not hapDict[pfx+'LeBail'] or (hapData['LeBail'] and hapData['newLeBail'])): 2308 2308 if hapData.get('LeBail',True): #stop regeneating reflections for LeBail 2309 2309 hapData['newLeBail'] = False
Note: See TracChangeset
for help on using the changeset viewer.