mailr18548 - /branches/frame_order_testing/specific_fns/frame_order.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 20, 2013 - 19:27:
Author: bugman
Date: Wed Feb 20 19:27:50 2013
New Revision: 18548

URL: http://svn.gna.org/viewcvs/relax?rev=18548&view=rev
Log:
Fix for the frame order specific _target_fn_setup() method.

The problem was recently introduced at r18436.  Now the checks for missing 
PCS and RDC data should
function correctly.


Modified:
    branches/frame_order_testing/specific_fns/frame_order.py

Modified: branches/frame_order_testing/specific_fns/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/specific_fns/frame_order.py?rev=18548&r1=18547&r2=18548&view=diff
==============================================================================
--- branches/frame_order_testing/specific_fns/frame_order.py (original)
+++ branches/frame_order_testing/specific_fns/frame_order.py Wed Feb 20 
19:27:50 2013
@@ -1354,9 +1354,9 @@
             rdcs, rdc_err, rdc_weight, rdc_vect, rdc_const, absolute_rdc = 
self._minimise_setup_rdcs(sim_index=sim_index)
 
         # Data checks.
-        if not len(pcs):
+        if pcs != None and not len(pcs):
             raise RelaxNoPCSError
-        if not len(rdcs):
+        if rdcs != None and not len(rdcs):
             raise RelaxNoRDCError
 
         # Get the atomic_positions.




Related Messages


Powered by MHonArc, Updated Wed Feb 20 20:00:02 2013