Hi Sebastien,
The thing is it was not exactly an error of the script. In the line 639 you
have to adjust the script so that it agrees with the format of the function
that you have used in line 174 "Relax_Data=[...". If in line 174 you
describe the data sets with only three parameters (e.g.[Rilabel, freq,
file]) then, in line 639 you have to adapt the function so that the program
reads only three sets of parameters (e.g. relax_data.read(data[0], data[1],
data[2], data[3]) while in the original file was set to read 13.
This is beginners' stuff, but that's exactly what I am with respect to RELAX
and PYTHON, so it may be usefull for other beginners.

However, I still have not managed to run the script to the end. At the
moment I am stuck with yet another error message: AttributeError:
'PipeContainer' object has no attribute 'diff_tensor'

If anyone can help me and avoid that I loose time with this probably easy to
solve error, please do.
Thanks
Tiago P

-----Original Message-----
From: Sébastien Morin [mailto:[email protected]] 
Sent: quarta-feira, 21 de Outubro de 2009 19:46
To: Tiago Pais
Cc: 'Edward d'Auvergne'; 'Boaz Shapira'; [email protected]
Subject: Re: Error when running full_analysis.py script

Dear Tiago,

Just for the logs, could you tell us what was the problem ?

Regards,


Sébastien


Tiago Pais wrote:
> Ok, managed to solve this already.
> Cheers
> Tiago
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Tiago Pais
> Sent: quarta-feira, 21 de Outubro de 2009 15:53
> To: 'Edward d'Auvergne'; 'Boaz Shapira'
> Cc: [email protected]
> Subject: Error when running full_analysis.py script
>
> Dear all,
> I am using 15N relaxation data previously analyzed to test some of the
> scripts available in Relax to make sure that I am using it correctly.
> However, I get the following error message when running the sample script
> full_analysis.py: "List Index out of Range"
> Below is "print screen" where the error shows up at the bottom:
>
> "None       149        Q          None       None
>
> relax> spin.name(spin_id=None, name='N', force=False)
> Traceback (most recent call last):
>   File "/usr/local/bin/relax", line 418, in <module>
>     Relax()
>   File "/usr/local/bin/relax", line 127, in __init__
>     self.interpreter.run(self.script_file)
>   File "/usr/local/relax/prompt/interpreter.py", line 276, in run
>     return run_script(intro=self.__intro_string, local=self.local,
> script_file=script_file, quit=self.__quit_flag,
> show_script=self.__show_script,
> raise_relax_error=self.__raise_relax_error)
>   File "/usr/local/relax/prompt/interpreter.py", line 537, in run_script
>     return console.interact(intro, local, script_file, quit,
> show_script=show_script, raise_relax_error=raise_relax_error)
>   File "/usr/local/relax/prompt/interpreter.py", line 433, in
> interact_script
>     execfile(script_file, local)
>   File "full_analysis.py", line 671, in <module>
>     Main(self.relax)
>   File "full_analysis.py", line 220, in __init__
>     self.multi_model(local_tm=True)
>   File "full_analysis.py", line 639, in multi_model
>     relax_data.read(data[0], data[1], data[2], data[3], data[4], data[5],
> data[6], data[7], data[8], data[9], data[10], data[11],
> data[12])
> IndexError: list index out of range"
>
> I can't understand if the error relates to the last command listed,
actually
> I can't understand the command given in this line (639) - what is it
suppose
> to do?
>
> Best regards
> TiagoP
>
>
> _______________________________________________
> relax (http://nmr-relax.com)
>
> This is the relax-users 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-users
>
>
> _______________________________________________
> relax (http://nmr-relax.com)
>
> This is the relax-users 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-users
>   


-- 
Sébastien Morin
PhD Student
S. Gagné NMR Laboratory
Université Laval & PROTEO
Québec, Canada


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-users 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-users

Reply via email to