Hi,

In your script, there should be no 'run' argument to any of the
functions.  The 'run' is a concept in the relax 1.2 versions which no
longer exists.  It has been replaced by the data pipe which contains
all the data you work with (this can be spread across multiple data
pipes too).  You don't have to specify which data pipe will be used by
the user functions, as there is a 'current' data pipe on which they
will operate.  Have a close look at the sample scripts that comes with
the repository version you have just checked out to see how this is
done.  It should work without problem though.  Otherwise a bug report
could be filed, and then I'll fix it straight away.

Regards,

Edward


On Thu, Aug 13, 2009 at 8:20 AM, Vic Vostr<[email protected]> wrote:
> Dear Edward,
> Thank you for the fast response!
>
> I have read the parent thread and performed the required update. It
> seems to install normally (message at the terminal: "Checked out
> revision 9291."), but still the problem persists. I guess I will wait
> for version 1.3.4 and install it to see if it will fix the issue.
> Please let me know if you have other suggestions, or require more information.
>
> Thank you once again!
>
> Vitaly
>
> On Wed, Aug 12, 2009 at 04:55, Edward d'Auvergne<[email protected]> wrote:
>> 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<[email protected]> 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/[email protected]/msg00606.html). I
>>> have performed the update
>>> (http://www.mail-archive.com/[email protected]/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
>>> [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

Reply via email to