Author: bugman Date: Wed Nov 28 11:05:31 2007 New Revision: 4102 URL: http://svn.gna.org/viewcvs/relax?rev=4102&view=rev Log: Bug fix for the generic_fns.spin.copy() function. The wrong pipe was being used for the destination spin container! Modified: 1.3/generic_fns/spin.py Modified: 1.3/generic_fns/spin.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/spin.py?rev=4102&r1=4101&r2=4102&view=diff ============================================================================== --- 1.3/generic_fns/spin.py (original) +++ 1.3/generic_fns/spin.py Wed Nov 28 11:05:31 2007 @@ -80,7 +80,7 @@ raise RelaxError, "The spin " + `spin_from` + " does not exist in the " + `pipe_from` + " data pipe." # Get the single residue data container to copy the spin to (default to the first molecule, first residue). - res_to_cont = return_residue(spin_to, pipe_from) + res_to_cont = return_residue(spin_to, pipe_to) if res_to_cont == None and spin_to: # No residue to copy data to. raise RelaxError, "The residue in " + `spin_to` + " does not exist in the " + `pipe_from` + " data pipe."