Author: bugman Date: Thu Dec 11 16:03:42 2014 New Revision: 27092 URL: http://svn.gna.org/viewcvs/relax?rev=27092&view=rev Log: Fix for the structure.align user function if no data pipes are supplied. The pipes list was no longer being created as it was shifted to the assemble_coordinates() function, however it is required for the translation and rotation function calls. Modified: trunk/pipe_control/structure/main.py Modified: trunk/pipe_control/structure/main.py URL: http://svn.gna.org/viewcvs/relax/trunk/pipe_control/structure/main.py?rev=27092&r1=27091&r2=27092&view=diff ============================================================================== --- trunk/pipe_control/structure/main.py (original) +++ trunk/pipe_control/structure/main.py Thu Dec 11 16:03:42 2014 @@ -143,6 +143,10 @@ T, R, pivot = fit_to_mean(models=list(range(len(ids))), coord=coord, centre_type=centre_type, elements=elements, centroid=centroid) elif method == 'fit to first': T, R, pivot = fit_to_first(models=list(range(len(ids))), coord=coord, centre_type=centre_type, elements=elements, centroid=centroid) + + # The data pipes to use. + if pipes == None: + pipes = [cdp_name()] # Loop over all pipes, models, and molecules. i = 0