Author: bugman Date: Fri Dec 12 00:12:20 2008 New Revision: 8199 URL: http://svn.gna.org/viewcvs/relax?rev=8199&view=rev Log: Reverted r8198 and added the real fix for the centre() function. Modified: 1.3/generic_fns/pcs.py Modified: 1.3/generic_fns/pcs.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pcs.py?rev=8199&r1=8198&r2=8199&view=diff ============================================================================== --- 1.3/generic_fns/pcs.py (original) +++ 1.3/generic_fns/pcs.py Fri Dec 12 00:12:20 2008 @@ -153,7 +153,7 @@ # Test the data pipe. pipes.test(pipe) - # Get the current data pipe. + # Get the data pipe. dp = pipes.get_pipe(pipe) # Test if the structure has been loaded. @@ -178,7 +178,8 @@ print "Paramagnetic centre located at: " + `pos` # Set the centre (place it into the current data pipe). - dp.paramagnetic_centre = pos + cdp = pipes.get_pipe() + cdp.paramagnetic_centre = pos def copy(pipe_from=None, pipe_to=None, ri_label=None, frq_label=None):