Author: bugman Date: Thu May 3 09:31:12 2012 New Revision: 15889 URL: http://svn.gna.org/viewcvs/relax?rev=15889&view=rev Log: Created generic_fns.pipes.PIPE_DESC_LIST which is the PIPE_DESC as a list, sorted by VALID_TYPES. This will be used in the GUI user functions. Modified: 1.3/generic_fns/pipes.py Modified: 1.3/generic_fns/pipes.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pipes.py?rev=15889&r1=15888&r2=15889&view=diff ============================================================================== --- 1.3/generic_fns/pipes.py (original) +++ 1.3/generic_fns/pipes.py Thu May 3 09:31:12 2012 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2004-2011 Edward d'Auvergne # +# Copyright (C) 2004-2012 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -47,6 +47,9 @@ 'noe': 'Steady state NOE calculation', 'relax_fit': 'Relaxation curve fitting' } +PIPE_DESC_LIST = [] +for name in VALID_TYPES: + PIPE_DESC_LIST.append(PIPE_DESC[name]) def copy(pipe_from=None, pipe_to=None):