Author: bugman Date: Thu Feb 5 18:58:43 2015 New Revision: 27564 URL: http://svn.gna.org/viewcvs/relax?rev=27564&view=rev Log: Fixes for the printout from the pipe_control.rdc.return_rdc_data() function.
The number of RDCs printed out was including values of None when data was missing for one alignment. These values of None are no longer counted. Modified: trunk/pipe_control/rdc.py Modified: trunk/pipe_control/rdc.py URL: http://svn.gna.org/viewcvs/relax/trunk/pipe_control/rdc.py?rev=27564&r1=27563&r2=27564&view=diff ============================================================================== --- trunk/pipe_control/rdc.py (original) +++ trunk/pipe_control/rdc.py Thu Feb 5 18:58:43 2015 @@ -1156,6 +1156,9 @@ else: error = interatom.rdc_err[align_id] + # Increment the RDC count. + j += 1 + # Append the RDCs to the list. rdc[-1].append(value) @@ -1173,9 +1176,6 @@ absolute[-1].append(interatom.absolute_rdc[align_id]) else: absolute[-1].append(False) - - # Interatom index. - j = j + 1 # ID and RDC count printout. if verbosity: _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits