Author: bugman Date: Mon Mar 9 16:53:08 2015 New Revision: 27787 URL: http://svn.gna.org/viewcvs/relax?rev=27787&view=rev Log: Modified the rdc.corr_plot user function to skip deselected interatomic data containers. This would normally happen as no back-calculated data is normally present. However, if data has been copied from elsewhere, this may not always be the case. 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=27787&r1=27786&r2=27787&view=diff ============================================================================== --- trunk/pipe_control/rdc.py (original) +++ trunk/pipe_control/rdc.py Mon Mar 9 16:53:08 2015 @@ -495,7 +495,7 @@ break # Loop over the interatomic data. - for interatom in interatomic_loop(): + for interatom in interatomic_loop(skip_desel=True): # Skip if data is missing. if not hasattr(interatom, 'rdc') or not hasattr(interatom, 'rdc_bc') or not align_id in interatom.rdc or not align_id in interatom.rdc_bc: continue