Author: bugman
Date: Fri Sep 12 10:08:13 2014
New Revision: 25767
URL: http://svn.gna.org/viewcvs/relax?rev=25767&view=rev
Log:
Added a call to check_pivot() to the frame_order.select_model user function.
This is to prevent this user function from being called before the pivot has
been set, as otherwise
the parameter vector will be incorrectly set up.
Modified:
branches/frame_order_cleanup/specific_analyses/frame_order/uf.py
Modified: branches/frame_order_cleanup/specific_analyses/frame_order/uf.py
URL:
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/uf.py?rev=25767&r1=25766&r2=25767&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/uf.py
(original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/uf.py Fri Sep
12 10:08:13 2014
@@ -36,6 +36,7 @@
from lib.geometry.rotations import euler_to_R_zyz, R_to_euler_zyz
from lib.warnings import RelaxWarning
from pipe_control import pipes
+from specific_analyses.frame_order.checks import check_pivot
from specific_analyses.frame_order.geometric import create_ave_pos,
create_distribution, create_geometric_rep
from specific_analyses.frame_order.parameters import update_model
from specific_analyses.frame_order.variables import MODEL_ISO_CONE,
MODEL_ISO_CONE_FREE_ROTOR, MODEL_ISO_CONE_TORSIONLESS, MODEL_LIST,
MODEL_LIST_FREE_ROTORS, MODEL_LIST_ISO_CONE, MODEL_LIST_PSEUDO_ELLIPSE,
MODEL_LIST_RESTRICTED_TORSION, MODEL_PSEUDO_ELLIPSE,
MODEL_PSEUDO_ELLIPSE_TORSIONLESS, MODEL_RIGID
@@ -367,8 +368,9 @@
@type model: str
"""
- # Test if the current data pipe exists.
- pipes.test()
+ # Checks.
+ pipes.test()
+ check_pivot()
# Test if the model name exists.
if not model in MODEL_LIST:
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits