Cheers! I can also now see the indentation problem! The code is a mixture of spaces and tab characters and in my editor, which shows tabs as 4 spaces, it looks like the indentation is not correct. This also happens when copying and pasting into an email message, see http://thread.gmane.org/gmane.science.nmr.relax.devel/4132. Regards, Edward On 12 July 2013 16:32, mathilde lescanne <mathilde.lescanne@xxxxxxxxx> wrote:
the script fitting_main_kex.py contains the same mistake: line285: tcp=Tc/(nb_pulse) ==> tcp=Tc/(2*nb_pulse) and consequently: the line 286 can be removed and line341: t115 = N/2 ==> t115 = nb_pulse; cheers, Mathilde 2013/7/12, mathilde lescanne <mathilde.lescanne@xxxxxxxxx>:Hello, The program fitting_main_kex.py ( in the relax.tar.gz compressed file https://gna.org/task/?7712) contains a mistake I made in the function 2D num (the 5th one) in the script fitting_main_kex.py . line273: tcp=Tc/(nb_pulse) ==> tcp=Tc/(2*nb_pulse) and consequently: the line 274 can be removed and line329: t115 = N/2 ==> t115 = nb_pulse; Indeed nb_pulse is the vector which contains the number of 180°pulses of ONE cpmg block. I am sorry for that, Kind regards, Mathilde