Hi Troels, For user clarity, I would recommend the text "From a peak list or spectrum formatted file.". For some it may not be clear what a "spectrum formatted file" is.
Cheers, Edward On 9 December 2013 11:50, <[email protected]> wrote: > Author: tlinnet > Date: Mon Dec 9 11:50:35 2013 > New Revision: 21895 > > URL: http://svn.gna.org/viewcvs/relax?rev=21895&view=rev > Log: > Added radio button for reading spins from a spectrum formatted file. > > Work in progress for Support Request #3044, > (https://gna.org/support/index.php?3044) - Load spins from SPARKY list. > > Modified: > trunk/gui/spin_viewer/frame.py > > Modified: trunk/gui/spin_viewer/frame.py > URL: > http://svn.gna.org/viewcvs/relax/trunk/gui/spin_viewer/frame.py?rev=21895&r1=21894&r2=21895&view=diff > ============================================================================== > --- trunk/gui/spin_viewer/frame.py (original) > +++ trunk/gui/spin_viewer/frame.py Mon Dec 9 11:50:35 2013 > @@ -514,10 +514,18 @@ > self.radio_new_xyz = wx.RadioButton(self, -1, "From a new XYZ > structure file.") > sizer_radio.Add(self.radio_new_xyz, 0, > wx.LEFT|wx.ALIGN_CENTER_VERTICAL, 0) > > + # Spacing. > + sizer_radio.AddSpacer(20) > + > + # The spectrum.read_spins radio button. > + self.radio_new_spectrum = wx.RadioButton(self, -1, "From a spectrum > formatted file.") > + sizer_radio.Add(self.radio_new_spectrum, 0, > wx.LEFT|wx.ALIGN_CENTER_VERTICAL, 0) > + > # Bind the buttons. > self.Bind(wx.EVT_RADIOBUTTON, self._on_select, self.radio_seq) > self.Bind(wx.EVT_RADIOBUTTON, self._on_select, self.radio_new_pdb) > self.Bind(wx.EVT_RADIOBUTTON, self._on_select, self.radio_new_xyz) > + self.Bind(wx.EVT_RADIOBUTTON, self._on_select, > self.radio_new_spectrum) > if self.preload_flag: > self.Bind(wx.EVT_RADIOBUTTON, self._on_select, > self.radio_preload) > > @@ -551,5 +559,7 @@ > self.selection = 'new pdb' > elif button == self.radio_new_xyz: > self.selection = 'new xyz' > + elif button == self.radio_new_spectrum: > + self.selection = 'new spectrum' > elif self.preload_flag and button == self.radio_preload: > self.selection = 'preload' > > > _______________________________________________ > relax (http://www.nmr-relax.com) > > This is the relax-commits mailing list > [email protected] > > To unsubscribe from this list, get a password > reminder, or change your subscription options, > visit the list information page at > https://mail.gna.org/listinfo/relax-commits _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list [email protected] To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel

