Author: bugman Date: Wed Mar 2 14:31:06 2011 New Revision: 12713 URL: http://svn.gna.org/viewcvs/relax?rev=12713&view=rev Log: More fixes for the relax_data.copy() user function back end. Modified: branches/relax_data/generic_fns/relax_data.py Modified: branches/relax_data/generic_fns/relax_data.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_data/generic_fns/relax_data.py?rev=12713&r1=12712&r2=12713&view=diff ============================================================================== --- branches/relax_data/generic_fns/relax_data.py (original) +++ branches/relax_data/generic_fns/relax_data.py Wed Mar 2 14:31:06 2011 @@ -379,6 +379,11 @@ # Test if relaxation data ID string exists for pipe_to. if ri_id in dp_to.ri_ids: raise RelaxRiError(ri_id) + + # Copy the global data. + dp_to.ri_ids.append(ri_id) + dp_to.ri_type[ri_id] = dp_from.ri_type[ri_id] + dp_to.frq[ri_id] = dp_from.frq[ri_id] # Spin loop. for mol_index, res_index, spin_index in spin_index_loop():