Hi, I'm not sure what should be done in the first version of the GUI. In the future, having a dialog/wizard which gives full access to the sequence.read() user function would remove the need for global settings. Maybe this dialog/wizard could be built anyway and used to fill out the data in data.seq_args? It just needs a dialog with a file selection button, and some text entries for specifying the columns needed and the column separator (e.g. ',' for csv files from MS Excel). What do you think?
Regards, Edward On 22 April 2010 05:58, <[email protected]> wrote: > Author: michaelbieri > Date: Thu Apr 22 05:58:36 2010 > New Revision: 11106 > > URL: http://svn.gna.org/viewcvs/relax?rev=11106&view=rev > Log: > Sequence file is imported for Rx calculations. > > The sequence file should be a list of residues in the first column of the > file. We could add a settings text box to change the location of the sequence. > > Modified: > branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py > > Modified: branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py > URL: > http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py?rev=11106&r1=11105&r2=11106&view=diff > ============================================================================== > --- branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py (original) > +++ branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py Thu Apr 22 05:58:36 > 2010 > @@ -250,7 +250,7 @@ > data = Container() > > # The sequence data (file name, dir, mol_name_col, res_num_col, > res_name_col, spin_num_col, spin_name_col, sep). These are the arguments to > the sequence.read() user function, for more information please see the > documentation for that function. > - data.seq_args = ['fixme!', None, None, 2, 3, 4, 5, None] > + data.seq_args = [ds.relax_gui.sequencefile, None, None, 1, None, > None, None, None] > > # The file names and relaxation times. > for i in range(len(self.data.file_list)): > > > _______________________________________________ > relax (http://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://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

