Author: bugman Date: Mon Dec 5 16:02:15 2011 New Revision: 15031 URL: http://svn.gna.org/viewcvs/relax?rev=15031&view=rev Log: Fix for the frame_order.ref_domain user function for a bug introduced in the last revision. Modified: branches/frame_order_testing/specific_fns/frame_order.py Modified: branches/frame_order_testing/specific_fns/frame_order.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/specific_fns/frame_order.py?rev=15031&r1=15030&r2=15031&view=diff ============================================================================== --- branches/frame_order_testing/specific_fns/frame_order.py (original) +++ branches/frame_order_testing/specific_fns/frame_order.py Mon Dec 5 16:02:15 2011 @@ -944,8 +944,8 @@ pipes.test() # Check that the domain is defined. - if not hasattr(cdp, 'domain') or domain not in cdp.domain.keys(): - raise RelaxError("The domain '%s' has not been defined. Please use the domain user function." % domain) + if not hasattr(cdp, 'domain') or ref not in cdp.domain.keys(): + raise RelaxError("The domain '%s' has not been defined. Please use the domain user function." % ref) # Test if the reference domain exists. exists = False