Author: bugman Date: Fri Mar 15 15:16:41 2013 New Revision: 18831 URL: http://svn.gna.org/viewcvs/relax?rev=18831&view=rev Log: Silenced the PCS and RDC warnings during Monte Carlo simulations for the frame order analysis. 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=18831&r1=18830&r2=18831&view=diff ============================================================================== --- branches/frame_order_testing/specific_fns/frame_order.py (original) +++ branches/frame_order_testing/specific_fns/frame_order.py Fri Mar 15 15:16:41 2013 @@ -694,7 +694,8 @@ # Average multiple atomic positions. else: # First throw a warning to tell the user what is happening. - warn(RelaxWarning("Averaging the %s atomic positions for the PCS for the spin '%s'." % (len(spin.pos), spin_id))) + if sim_index == None: + warn(RelaxWarning("Averaging the %s atomic positions for the PCS for the spin '%s'." % (len(spin.pos), spin_id))) # The average position. ave_pos = zeros(3, float64) @@ -865,7 +866,8 @@ # Average multiple unit vectors. else: # First throw a warning to tell the user what is happening. - warn(RelaxWarning("Averaging the %s unit vectors for the RDC for the spin pair '%s' and '%s'." % (len(interatom.vector), interatom.spin_id1, interatom.spin_id2))) + if sim_index == None: + warn(RelaxWarning("Averaging the %s unit vectors for the RDC for the spin pair '%s' and '%s'." % (len(interatom.vector), interatom.spin_id1, interatom.spin_id2))) # The average position. ave_vector = zeros(3, float64)