Author: tlinnet Date: Wed Mar 12 13:04:53 2014 New Revision: 22462 URL: http://svn.gna.org/viewcvs/relax?rev=22462&view=rev Log: Fix for field count and added check for R1rho type in calc_rotating_frame_params(). Regarding sr #3124, (https://gna.org/support/index.php?3124) - Grace graphs production for R1rho analysis with R2_eff as function of Omega_eff. Modified: trunk/specific_analyses/relax_disp/disp_data.py Modified: trunk/specific_analyses/relax_disp/disp_data.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/disp_data.py?rev=22462&r1=22461&r2=22462&view=diff ============================================================================== --- trunk/specific_analyses/relax_disp/disp_data.py (original) +++ trunk/specific_analyses/relax_disp/disp_data.py Wed Mar 12 13:04:53 2014 @@ -179,7 +179,11 @@ @rtype: List of dict() """ # Get the field count - field_count = cdp.spectrometer_frq_count + field_count = count_frq() + + # Check the experiment type + if not has_r1rho_exp_type(): + raise RelaxError("The experiment type is not of R1rho type.") # Get the spin_lock_field points spin_lock_nu1 = return_spin_lock_nu1(ref_flag=False)