mailRe: [task #3838] Splitting up and redesigning the 'pdb()' user function.


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

Header


Content

Posted by Alexandar Hansen on October 13, 2006 - 16:36:


On 10/13/06, Edward d'Auvergne <edward.dauvergne@xxxxxxxxx> wrote:
> Diffusion models other than local_tm are not working.  My Traceback is:
>
> Traceback (most recent call last):
>   File "relax", line 458, in ?
>     Relax()
>   File "relax", line 170, in __init__
>     self.interpreter.run()
>   File "/local/home/viochem/relax/prompt/interpreter.py",
> line 213, in run
>     run_script(intro=self.relax.intro_string, local=self.local,
> script_file= self.relax.script_file , quit=1)
>   File "/local/home/viochem/relax/prompt/interpreter.py",
> line 388, in run_script
>     console.interact(intro, local, script_file, quit)
>   File "/local/home/viochem/relax/prompt/interpreter.py",
> line 340, in interact_script
>     execfile(script_file, local)
>   File "full_analysis-ellipsoid.py", line 437, in ?
>     Main()
>   File "full_analysis-ellipsoid.py", line 193, in __init__
>     pdb(name, self.alex_pdb)
>  AttributeError: PDB instance has no __call__ method

This problem is because the PDB user functions are now different
between the 1.2 and 1.3 lines.  In 1.2 the user function is called
'pdb()'.  In 1.3 the user function is now called 'pdb.read()' and
'pdb.vectors()'.  The function has been split into 2.  This is all
discussed in task #3838 (https://gna.org/task/?3838 ).


> I ran the test-suite and also had some failures:
>
> #############################
> # Results of the test suite #
> #############################
>
> Angle calculation tests:
>     The user function angles()
> ..........................................................
> [ Failed ]
>
>     Mapping the {theta, phi, Da} chi2 space through the OpenDX user function
> dx.map() ... [ Failed ]
>
>  Synopsis
> ................................................................................
> [ Failed ]
>

I'll look into these.


> I just tried to do a 'svn up' to check my verision number and found:
>
> svn: Malformed network data
>
>  Typing svn info I find that I have revision 2641.

I have no idea what happened there.  I've never seen that problem
before.  It could be a network dropout.  If you retype 'svn up' do you
get the problem?


I just tried it again, and I didn't get the same error.  Must not have been serious.

 
Alex



Related Messages


Powered by MHonArc, Updated Fri Oct 13 17:00:22 2006