mailRe: value.display()


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on August 12, 2009 - 11:57:
Dear Vic,

Welcome to the relax mailing lists :)  What you have encountered here
is an old bug relating to ancient relax-1.2 code.  This has now been
fixed in the repository which, if you have subversion installed, can
be retrieved by following the instructions in
https://mail.gna.org/public/relax-users/2009-02/msg00020.html.  I will
soon be releasing relax-1.3.4 if you would like to wait a week or so,
otherwise you can use the repository code.  Note that this bug was
already encountered by Raj Jose in the parent message to the above
link (at https://mail.gna.org/public/relax-users/2009-02/msg00018.html).
 I hope this helps.

Regards,

Edward



On Sun, Aug 9, 2009 at 6:47 AM, Vic Vostr<vvostri@xxxxxxxxx> wrote:
Hi,

I am trying to set-up the output of model-free parameters as described
earlier (https://mail.gna.org/public/relax-users/2009-02/msg00012.html),
and I seem to run into the same issue as Prem
(http://www.mail-archive.com/relax-users@xxxxxxx/msg00606.html). I
have performed the update
(http://www.mail-archive.com/relax-users@xxxxxxx/msg00608.html), but
it did not fix it.

Script 1:
 pipe.create('test', 'mf')
 results.read(file='tm1/results')
 value.display('S2')

Relax output 1:
 pipe.create(pipe_name='my data', pipe_type='mf')
 Opening the file 'tm1/results.bz2' for reading.
 value.display(run='S2', param=None)
 RelaxError: The parameter argument None must be a string.

Script 2:
 pipe.create('my data', 'mf')
 results.read(file='tm1/results')
 value.display(run='tm1', param='S2')

Relax output 2:
 pipe.create(pipe_name='my data', pipe_type='mf')
 Opening the file 'tm1/results.bz2' for reading.
 value.display(run='tm1', param='S2')
 Traceback (most recent call last):
  File "relax", line 422, in <module>
    Relax()
  File "relax", line 131, in __init__
    self.interpreter.run(self.script_file)
  File "/home/vvostri/Desktop/relax-1.3.3/prompt/interpreter.py",
line 270, 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 "/home/vvostri/Desktop/relax-1.3.3/prompt/interpreter.py",
line 531, in run_script
    return console.interact(intro, local, script_file, quit,
show_script=show_script, raise_relax_error=raise_relax_error)
  File "/home/vvostri/Desktop/relax-1.3.3/prompt/interpreter.py",
line 427, in interact_script
    execfile(script_file, local)
  File "model-free.py", line 94, in <module>
    value.display(run='tm1', param='S2')
  File "/home/vvostri/Desktop/relax-1.3.3/prompt/value.py", line
152, in display
    self.__relax__.generic.value.display(run=run, param=param)
 TypeError: display() got an unexpected keyword argument 'run'

Thank you in advance!

Vitaly

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

This is the relax-users mailing list
relax-users@xxxxxxx

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




Related Messages


Powered by MHonArc, Updated Thu Aug 13 08:40:36 2009