Author: bugman Date: Wed Mar 10 18:28:30 2010 New Revision: 10968 URL: http://svn.gna.org/viewcvs/relax?rev=10968&view=rev Log: Fix for the back_calc() function - if the back-calculation returns no value, the spin is skipped. Modified: 1.3/generic_fns/relax_data.py Modified: 1.3/generic_fns/relax_data.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/relax_data.py?rev=10968&r1=10967&r2=10968&view=diff ============================================================================== --- 1.3/generic_fns/relax_data.py (original) +++ 1.3/generic_fns/relax_data.py Wed Mar 10 18:28:30 2010 @@ -197,6 +197,10 @@ # Back-calculate the relaxation value. value = back_calculate(spin_index=spin_index, ri_label=ri_label, frq_label=frq_label, frq=frq) + + # No data. + if value == None: + continue # Update all data structures. update_data_structures_spin(spin, ri_label, frq_label, frq, value)