Author: tlinnet Date: Wed Mar 12 16:14:25 2014 New Revision: 22469 URL: http://svn.gna.org/viewcvs/relax?rev=22469&view=rev Log: Added return of None values for function calc_rotating_frame_params() if spin is not selected. 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=22469&r1=22468&r2=22469&view=diff ============================================================================== --- trunk/specific_analyses/relax_disp/disp_data.py (original) +++ trunk/specific_analyses/relax_disp/disp_data.py Wed Mar 12 16:14:25 2014 @@ -178,6 +178,11 @@ @return: List with dict() of theta, Domega, w_eff and list of dict() keys. @rtype: List of dict() """ + + # If the spin is not selected, return None + if not spin.select: + return [None, None, None, None] + # Get the field count field_count = count_frq()