Changeset 2351


Ignore:
Timestamp:
Jun 28, 2016 4:55:27 PM (7 years ago)
Author:
vondreele
Message:

Add MakeRDF to Background File menu - nothing yet
fix Comments display to remove extra \n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2340 r2351  
    108108[ wxID_BACKCOPY,wxID_LIMITCOPY, wxID_SAMPLECOPY, wxID_SAMPLECOPYSOME, wxID_BACKFLAGCOPY, wxID_SAMPLEFLAGCOPY,
    109109    wxID_SAMPLESAVE, wxID_SAMPLELOAD,wxID_ADDEXCLREGION,wxID_SETSCALE,wxID_SAMPLE1VAL,wxID_ALLSAMPLELOAD,
    110 ] = [wx.NewId() for item in range(12)]
     110    wxID_MAKEBACKRDF,
     111] = [wx.NewId() for item in range(13)]
    111112
    112113[ wxID_INSTPRMRESET,wxID_CHANGEWAVETYPE,wxID_INSTCOPY, wxID_INSTFLAGCOPY, wxID_INSTLOAD,
     
    15491550        self.BackEdit.Append(id=wxID_PEAKSMOVE, kind=wx.ITEM_NORMAL,text='Move peaks',
    15501551            help='Move background peaks to Peak List')
     1552        self.BackEdit.Append(id=wxID_MAKEBACKRDF, kind=wx.ITEM_NORMAL,text='Plot RDF',
     1553            help='Plot radial distribution from differences')
    15511554        self.BackFixed = wx.Menu(title='') # fixed background point menu
    15521555        self.BackMenu.Append(menu=self.BackFixed, title='Fixed Points')
     
    24302433        style=wx.TE_MULTILINE|wx.TE_READONLY|wx.TE_DONTWRAP)
    24312434    for line in data:
    2432         G2frame.dataDisplay.AppendText(line+'\n')
     2435        if '\n' not in line:
     2436            G2frame.dataDisplay.AppendText(line+'\n')
     2437        else:
     2438            G2frame.dataDisplay.AppendText(line)
    24332439    G2frame.dataFrame.setSizePosLeft([400,250])
    24342440           
Note: See TracChangeset for help on using the changeset viewer.