Author: bugman Date: Thu May 3 21:44:20 2012 New Revision: 15927 URL: http://svn.gna.org/viewcvs/relax?rev=15927&view=rev Log: Clean up of the pipe module (removal of useless imports and syntax fixes). Modified: branches/uf_redesign/user_functions/pipe.py Modified: branches/uf_redesign/user_functions/pipe.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/pipe.py?rev=15927&r1=15926&r2=15927&view=diff ============================================================================== --- branches/uf_redesign/user_functions/pipe.py (original) +++ branches/uf_redesign/user_functions/pipe.py Thu May 3 21:44:20 2012 @@ -24,13 +24,7 @@ """Module containing the 'pipe' user function data.""" # relax module imports. -from base_class import User_fn_class, _build_doc -import arg_check -from generic_fns import pipes -from relax_errors import RelaxError -from specific_fns.setup import hybrid_obj -from user_functions.objects import Container -from user_functions import Uf_info; uf_info = Uf_info() +from user_functions.data import Uf_info; uf_info = Uf_info() # The user function class. @@ -139,7 +133,7 @@ uf = uf_info.add_uf('pipe.switch') uf.title = "Switch between the data pipes of the relax data store." uf.title_short = "Data pipe switching." -uf.add_keyarg(name="pipe_name", default=None, py_type="str", desc_short="data pipe name", desc="The name of the data pipe."] +uf.add_keyarg(name="pipe_name", default=None, py_type="str", desc_short="data pipe name", desc="The name of the data pipe.") uf.backend = 'generic_fns.pipes.switch' uf.desc = """ This will switch between the various data pipes within the relax data store.