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 13, 2009 - 09:35:
Hi,

I just did the same thing.  From the directory of relax-1.3
(repository version at revision r9291), I typed the following:

----
[edward@localhost relax-1.3]$ ./relax



                                     relax repository checkout

                          Protein dynamics by NMR relaxation data analysis

                             Copyright (C) 2001-2006 Edward d'Auvergne
                         Copyright (C) 2006-2009 the relax development team

This is free software which you are welcome to modify and redistribute
under the conditions of the
GNU General Public License (GPL).  This program, including all
modules, is licensed under the GPL
and comes with absolutely no warranty.  For details type 'GPL'.
Assistance in using this program
can be accessed by typing 'help'.

relax> pipe.create('test', 'mf')
relax> 
results.read('test_suite/shared_data/model_free/OMP/final_results_trunc_1.3.bz2')
Opening the file
'test_suite/shared_data/model_free/OMP/final_results_trunc_1.3.bz2'
for reading.
relax> value.display('S2')
Mol_name   Res_num    Res_name   Spin_num   Spin_name  Value
              Error
None       9          Gln        None       None
0.75876101522559647           0.04100527992395147
None       10         Gln        None       None
0.78012235120212192           0.022233286740851382
None       11         Leu        None       None
0.8279333366197964            0.018356220193995545
None       12         Asp        None       None
0.77885239826380259           0.040160093317962754

[snip]

None       162        Gln        None       None
0.75166983077740679           0.038619881884635963
relax>
-----

Therefore I would guess that you are accidentally using the 1.3.3
version.  This can be checked by typing:

relax> from version import version
relax> print version
repository checkout
relax>

You should see 'repository checkout' and not '1.3.3'.  Before filing a
bug report, could you confirm that you get this error with this
version of relax?

Cheers,

Edward


On Thu, Aug 13, 2009 at 9:09 AM, Vic Vostr<vvostri@xxxxxxxxx> wrote:
Hi,

I do omit the "run" argument in the "value.display" function. It reads
just "value.display('S2')", which returns:
relax> value.display(run='S2', param=None)
RelaxError: The parameter argument None must be a string.

If this is a bug, I will file the report right away; I just want to
make sure I am not making some trivial mistake, as this issue has been
raised earlier.

Thank you,
Vitaly


On Thu, Aug 13, 2009 at 01:53, Edward d'Auvergne<edward@xxxxxxxxxxxxx> 
wrote:
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




Related Messages


Powered by MHonArc, Updated Fri Aug 14 07:00:42 2009