Author: bugman Date: Wed Jul 9 15:31:21 2014 New Revision: 24495 URL: http://svn.gna.org/viewcvs/relax?rev=24495&view=rev Log: Modified the specific_analyses.frame_order.parameters.update_model() function. The pivot parameters are now set to 0.0 if they do not currently exist. They were previously excluded from this initialisation, but this is required for the frame order models if the pivot is not initially fixed at a give location in the PDB space. Modified: branches/frame_order_cleanup/specific_analyses/frame_order/parameters.py Modified: branches/frame_order_cleanup/specific_analyses/frame_order/parameters.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/parameters.py?rev=24495&r1=24494&r2=24495&view=diff ============================================================================== --- branches/frame_order_cleanup/specific_analyses/frame_order/parameters.py (original) +++ branches/frame_order_cleanup/specific_analyses/frame_order/parameters.py Wed Jul 9 15:31:21 2014 @@ -266,5 +266,5 @@ # Initialise the parameters in the current data pipe. for param in cdp.params: - if not param in ['pivot_x', 'pivot_y', 'pivot_z'] and not hasattr(cdp, param): + if not hasattr(cdp, param): setattr(cdp, param, 0.0)