Author: bugman Date: Mon Jun 4 14:37:14 2012 New Revision: 16628 URL: http://svn.gna.org/viewcvs/relax?rev=16628&view=rev Log: Implemented the generic_fns.pipes.bundle_names() function for returning a list of all pipe bundles. Modified: branches/uf_redesign/generic_fns/pipes.py Modified: branches/uf_redesign/generic_fns/pipes.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/generic_fns/pipes.py?rev=16628&r1=16627&r2=16628&view=diff ============================================================================== --- branches/uf_redesign/generic_fns/pipes.py (original) +++ branches/uf_redesign/generic_fns/pipes.py Mon Jun 4 14:37:14 2012 @@ -50,6 +50,16 @@ PIPE_DESC_LIST = [] for name in VALID_TYPES: PIPE_DESC_LIST.append(PIPE_DESC[name]) + + +def bundle_names(): + """Return the list of all data pipe bundles. + + @return: The list of data pipe bundles. + @rtype: list of str + """ + + return list(ds.pipe_bundles.keys()) def copy(pipe_from=None, pipe_to=None):