Author: bugman Date: Mon Sep 7 19:31:49 2009 New Revision: 9468 URL: http://svn.gna.org/viewcvs/relax?rev=9468&view=rev Log: Fix for the __update_model() method. The theta_axis, phi_axis, and theta_cone params were not being added to the parameter array! Modified: 1.3/specific_fns/frame_order.py Modified: 1.3/specific_fns/frame_order.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/frame_order.py?rev=9468&r1=9467&r2=9468&view=diff ============================================================================== --- 1.3/specific_fns/frame_order.py (original) +++ 1.3/specific_fns/frame_order.py Mon Sep 7 19:31:49 2009 @@ -154,8 +154,13 @@ if not hasattr(cdp, 'params'): cdp.params = [] + # Initialisation flag. + init = False + if not len(cdp.params): + init = True + # Set up the tensor rotation parameter arrays. - if not len(cdp.params): + if init: cdp.params.append('alpha') cdp.params.append('beta') cdp.params.append('gamma') @@ -171,7 +176,7 @@ # Isotropic cone model. if cdp.model == 'iso cone': # Set up the parameter arrays. - if not len(cdp.params): + if init: cdp.params.append('theta_axis') cdp.params.append('phi_axis') cdp.params.append('theta_cone')