Hi Troels, Be careful here, you have committed a print statement that is fatal for Python 3.
Regards, Edward On 16 June 2014 19:01, <[email protected]> wrote: > Author: tlinnet > Date: Mon Jun 16 19:01:39 2014 > New Revision: 23990 > > URL: http://svn.gna.org/viewcvs/relax?rev=23990&view=rev > Log: > Fix for unit test, where the dimension of points has to be one lower. > > Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion > models for Clustered analysis. > > Modified: > > branches/disp_spin_speed/test_suite/unit_tests/_lib/_dispersion/test_ns_cpmg_2site_3d.py > > Modified: > branches/disp_spin_speed/test_suite/unit_tests/_lib/_dispersion/test_ns_cpmg_2site_3d.py > URL: > http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/test_suite/unit_tests/_lib/_dispersion/test_ns_cpmg_2site_3d.py?rev=23990&r1=23989&r2=23990&view=diff > ============================================================================== > --- > branches/disp_spin_speed/test_suite/unit_tests/_lib/_dispersion/test_ns_cpmg_2site_3d.py > (original) > +++ > branches/disp_spin_speed/test_suite/unit_tests/_lib/_dispersion/test_ns_cpmg_2site_3d.py > Mon Jun 16 19:01:39 2014 > @@ -70,9 +70,11 @@ > k_AB, k_BA, pB, dw_frq, M0 = self.param_conversion(pA=self.pA, > kex=self.kex, dw=self.dw, sfrq=self.sfrq, M0=self.M0) > > a = ones(self.array_shape) > + b = ones([1, 1, 1, 1]) > + print self.num_points*b > > # Calculate the R2eff values. > - r2eff_ns_cpmg_2site_3D(r180x=self.r180x, M0=M0, r20a=self.r20a*a, > r20b=self.r20b*a, pA=self.pA, dw=dw_frq*a, dw_orig=dw_frq*a, kex=self.kex, > inv_tcpmg=self.inv_relax_times*a, tcp=self.tau_cpmg*a, back_calc=self.R2eff, > num_points=self.num_points*a, power=self.ncyc*a) > + r2eff_ns_cpmg_2site_3D(r180x=self.r180x, M0=M0, r20a=self.r20a*a, > r20b=self.r20b*a, pA=self.pA, dw=dw_frq*a, dw_orig=dw_frq*a, kex=self.kex, > inv_tcpmg=self.inv_relax_times*a, tcp=self.tau_cpmg*a, back_calc=self.R2eff, > num_points=self.num_points*b, power=self.ncyc*a) > > if self.kex >= 1.e5: > for i in range(self.num_points): > > > _______________________________________________ > relax (http://www.nmr-relax.com) > > This is the relax-commits mailing list > [email protected] > > 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 _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list [email protected] 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-devel

