Author: bugman Date: Sat Sep 30 10:50:54 2006 New Revision: 2587 URL: http://svn.gna.org/viewcvs/relax?rev=2587&view=rev Log: Fix for bug #7224 (https://gna.org/bugs/?7224).
The problem was simply that the run name was being replaced by None. Modified: 1.2/generic_fns/angles.py Modified: 1.2/generic_fns/angles.py URL: http://svn.gna.org/viewcvs/relax/1.2/generic_fns/angles.py?rev=2587&r1=2586&r2=2587&view=diff ============================================================================== --- 1.2/generic_fns/angles.py (original) +++ 1.2/generic_fns/angles.py Sat Sep 30 10:50:54 2006 @@ -66,11 +66,8 @@ raise RelaxError, "No coded yet." - def ellipsoid_frame(self, run=None): + def ellipsoid_frame(self): """Function for calculating the spherical angles of the XH vector in the ellipsoid frame.""" - - # Arguments. - self.run = run # Get the unit vectors Dx, Dy, and Dz of the diffusion tensor axes. Dx, Dy, Dz = self.relax.generic.diffusion_tensor.unit_axes() @@ -93,11 +90,8 @@ self.relax.data.res[self.run][i].phi = acos(dx / sin(self.relax.data.res[self.run][i].theta)) - def spheroid_frame(self, run=None): + def spheroid_frame(self): """Function for calculating the angle alpha of the XH vector within the spheroid frame.""" - - # Arguments. - self.run = run # Get the unit vector Dpar of the diffusion tensor axis. Dpar = self.relax.generic.diffusion_tensor.unit_axes() _______________________________________________ relax (http://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