Author: bugman Date: Sun Aug 15 16:07:28 2010 New Revision: 11516 URL: http://svn.gna.org/viewcvs/relax?rev=11516&view=rev Log: Fix for rdc.read() when neg_g_corr is set to True and the RDC list contains entries with None. Modified: 1.3/generic_fns/rdc.py Modified: 1.3/generic_fns/rdc.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/rdc.py?rev=11516&r1=11515&r2=11516&view=diff ============================================================================== --- 1.3/generic_fns/rdc.py (original) +++ 1.3/generic_fns/rdc.py Sun Aug 15 16:07:28 2010 @@ -399,7 +399,7 @@ spin.rdc = {} # Correction for the negative gyromagnetic ratio of 15N. - if neg_g_corr: + if neg_g_corr and value != None: value = -value # Append the value.