Author: bugman Date: Fri Jun 19 11:29:00 2009 New Revision: 9093 URL: http://svn.gna.org/viewcvs/relax?rev=9093&view=rev Log: Modifications to the __update_model() method. Modified: branches/frame_order/specific_fns/frame_order.py Modified: branches/frame_order/specific_fns/frame_order.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order/specific_fns/frame_order.py?rev=9093&r1=9092&r2=9093&view=diff ============================================================================== --- branches/frame_order/specific_fns/frame_order.py (original) +++ branches/frame_order/specific_fns/frame_order.py Fri Jun 19 11:29:00 2009 @@ -45,14 +45,20 @@ if not hasattr(cdp, 'params'): cdp.params = [] - # Set up the parameter arrays. - if not len(cdp.params): - # Isotropic cone parameters. - if cdp.model == 'iso cone': + # Isotropic cone model. + if cdp.model == 'iso cone': + # Set up the parameter arrays. + if not len(cdp.params): cdp.params.append('alpha') cdp.params.append('beta') cdp.params.append('gamma') cdp.params.append('theta') + + # Initialise the Euler angle and cone angle values. + cdp.alpha = None + cdp.beta = None + cdp.gamma = None + cdp.theta = None def grid_search(self, lower, upper, inc, constraints=False, verbosity=0, sim_index=None):