Author: bugman
Date: Fri Sep 12 09:58:37 2014
New Revision: 25766
URL: http://svn.gna.org/viewcvs/relax?rev=25766&view=rev
Log:
The frame order generate_pivot() function can now handle no pivot being present.
At the start of this specific_analyses.frame_order.data module function, the
check_pivot() function
is being called to make sure that a pivot is present.
Modified:
branches/frame_order_cleanup/specific_analyses/frame_order/data.py
Modified: branches/frame_order_cleanup/specific_analyses/frame_order/data.py
URL:
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/data.py?rev=25766&r1=25765&r2=25766&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/data.py
(original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/data.py Fri Sep
12 09:58:37 2014
@@ -31,6 +31,7 @@
from pipe_control import pipes
from pipe_control.interatomic import interatomic_loop
from pipe_control.mol_res_spin import spin_loop
+from specific_analyses.frame_order.checks import check_pivot
from specific_analyses.frame_order.variables import MODEL_DOUBLE_ROTOR,
MODEL_RIGID
@@ -112,6 +113,9 @@
@rtype: numpy 3D rank-1 float64 array
"""
+ # Checks.
+ check_pivot(pipe_name=pipe_name)
+
# The data pipe.
if pipe_name == None:
pipe_name = pipes.cdp_name()
_______________________________________________
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