Menu

Commit [r27613]  Maximize  Restore  History

Merged revisions 27612 via svnmerge from

svn+ssh://bugman@.../svn/relax/trunk

........
r27612 | bugman | 2015-02-10 12:05:01 +0100 (Tue, 10 Feb 2015) | 10 lines

Huge speed up for the assembly of atomic coordinates from a large number of structures.

The internal structural object validate_models() method was being called once for each structure
when assembling the atomic coordinates. This resulted in the _translate() internal structural
object method, which converts all input data to formatted strings, being called hundreds of millions
of times. The problem was in lib.structure.internal.coordinates.assemble_atomic_coordinates(), in
that the one_letter_codes() method, which calls validate_models(), was called for each molecule
encountered. The solution was not to validate models in one_letter_codes().
........

bugman 2015-02-10

changed /branches/frame_order_cleanup
changed /branches/frame_order_cleanup/lib/structure/internal/object.py
/branches/frame_order_cleanup/lib/structure/internal/object.py Diff Switch to side-by-side view
Loading...
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.