Changeset 3348 for trunk/GSASIIdataGUI.py
- Timestamp:
- Apr 17, 2018 5:00:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r3346 r3348 1497 1497 pth = G2G.GetImportPath(self) 1498 1498 if not pth: pth = '.' 1499 extOrd = [0,1] 1500 if GSASIIpath.GetConfigValue('Instprm_default',False): 1501 extOrd = [1,0] 1502 extList = ['GSAS iparm file (*.prm,*.inst,*.ins)|*.prm;*.inst;*.ins|','GSAS-II iparm file (*.instprm)|*.instprm|'] 1499 1503 dlg = wx.FileDialog(self, 1500 1504 u'Choose inst. param file for "'+rd.idstring+u'" (or Cancel for default)', 1501 pth, '', 1502 'GSAS iparm file (*.prm,*.inst,*.ins)|*.prm;*.inst;*.ins|' 1503 'GSAS-II iparm file (*.instprm)|*.instprm|' 1504 'All files (*.*)|*.*', wx.FD_OPEN) 1505 pth, '',extList[extOrd[0]]+extList[extOrd[1]]+'All files (*.*)|*.*', wx.FD_OPEN) 1505 1506 if os.path.exists(lastIparmfile): 1506 1507 dlg.SetFilename(lastIparmfile) … … 4920 4921 # PDR / Peak List 4921 4922 G2G.Define_wxId('wxID_UNDO', 'wxID_LSQPEAKFIT', 'wxID_LSQONECYCLE', 'wxID_RESETSIGGAM', 4922 'wxID_CLEARPEAKS', 'wxID_AUTOSEARCH','wxID_PEAKSCOPY', 'wxID_SEQPEAKFIT', )4923 'wxID_CLEARPEAKS', 'wxID_AUTOSEARCH','wxID_PEAKSCOPY', 'wxID_SEQPEAKFIT','wxID_PEAKLOAD','wxID_PEAKSAVE') 4923 4924 self.PeakMenu = wx.MenuBar() 4924 4925 self.PrefillDataMenu(self.PeakMenu) … … 4933 4934 self.PeakEdit.Append(G2G.wxID_RESETSIGGAM,'Reset sig and gam','Reset sigma and gamma to global fit' ) 4934 4935 self.PeakCopy = self.PeakEdit.Append(G2G.wxID_PEAKSCOPY,'Peak copy','Copy peaks to other histograms') 4936 self.PeakEdit.Append(G2G.wxID_PEAKLOAD,'Load peaks...','Load peak list from file') 4937 self.PeakEdit.Append(G2G.wxID_PEAKSAVE,'Save peaks...','Save peak list to file') 4935 4938 self.SeqPeakFit = self.PeakEdit.Append(G2G.wxID_SEQPEAKFIT,'Seq PeakFit', 4936 4939 'Sequential Peak fitting for all histograms' )
Note: See TracChangeset
for help on using the changeset viewer.