mailstructure.vector()


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

Header


Content

Posted by Sébastien Morin on February 06, 2009 - 18:38:
Hi,

I was looking at the code for function 'vectors()' in both
'prompt/structure.py' and 'generic_fns/structure/main.py' and saw some
possible problems...

============
1.
============
The default arguments for 'prompt/structure.vectors()' are:

        attached='H'
        spin_id=None
        model=None
        verbosity=1
        ave=True
        unit=True

while, for 'generic_fns/structure/main.vectors()', they are:

        attached=None
        spin_id=None
        model=None
        verbosity=1
        ave=True
        unit=True

The attached argument has two different default values ? Is that normal ?


============
2.
============
There seems to be an error in the docstring example for
'prompt/structure.vectors()' where the argument 'attached' is replaced
by 'proton'...

       relax> structure.vectors(proton='H', spin_id='@N')
       ...
       relax> structure.vectors(proton='HN', spin_id='@N')
       ...
       relax> structure.vectors(proton='HA', spin_id='@CA')


Should this be corrected ?

Regards,


Séb  :)



Related Messages


Powered by MHonArc, Updated Tue Feb 17 22:40:49 2009