Menu

SVN archive Commit Log


Commit Date  
[r8744] by bugman

Fixes for the bond_vectors() method.

The atom_id string is now generated as it is no longer passed in. This is a temporary fix and this
function is very inefficient, just as the internal object bond_vectors() method was (which was fixed
in r8741).

2009-02-05 13:54:50 Tree
[r8743] by bugman

Added the atoms 'NZ' and 'OH' as nitrogens and oxygens of amino acids respectively.

2009-02-05 13:46:28 Tree
[r8742] by bugman

Modified the base API bond_vectors() method.

2009-02-05 13:42:51 Tree
[r8741] by bugman

Massive speed up of the bond_vectors() method.

The algorithm used was very, very poorly designed. Now when setting the profile flag to 1 gives the
following. Before in one test:

11168736 function calls (10986641 primitive calls) in 76.750 CPU seconds

ncalls tottime percall cumtime percall filename:lineno(function)
758954 12.160 0.000 51.060 0.000 /home/edau/relax/relax-1.3/generic_fns/relax_re.py:31(search)
141 0.890 0.006 67.620 0.480 /home/edau/relax/relax-1.3/generic_fns/structure/internal.py:444(bond_vectors)

All other function call info lines have been removed. After the changes:

2586419 function calls (2579305 primitive calls) in 21.370 CPU seconds

ncalls tottime percall cumtime percall filename:lineno(function)
62803 1.180 0.000 5.020 0.000 /home/edau/relax/relax-1.3/generic_fns/relax_re.py:31(search)
141 0.060 0.000 12.020 0.085 /home/edau/relax/relax-1.3/generic_fns/structure/internal.py:444(bond_vectors)

The difference is that the selection object is no longer used, as it is completely unnecessary.

2009-02-05 13:41:36 Tree
[r8740] by bugman

Modified 2 system tests for the loading of N-Ca vectors.

2009-02-05 10:43:43 Tree
[r8739] by bugman

Modified the get_pipe() function to check if a data pipe exists.

2009-02-05 10:30:37 Tree
[r8738] by bugman

Modified a print out to make it clearer.

2009-02-05 09:22:35 Tree
[r8737] by bugman

Added a check for the molecule name.

2009-02-05 09:22:02 Tree
[r8736] by bugman

Bug fix for the atom_loop() method.

The molecule name was not being checked!

2009-02-05 09:18:17 Tree
[r8735] by bugman

Modified test_read_pdb_internal1() to catch a molecule name identification bug.

The test_read_pdb_scientific1() was similarly modified, but there is no bug in the Scientific python
code.

2009-02-05 09:00:21 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.