Menu

Commit [r24375]  Maximize  Restore  History

Added support for labels in the rotor geometric object for the internal structural object.

The labels are created by the frame_order.pdb_model user function backend. For the double rotor
model, these are 'x-ax' and 'y-ax'. For all other models, the label is 'z-ax'.

The labels are then sent into the lib.structure.represent.rotor.rotor() function via the new label
argument. This function adds two new atoms to the rotor molecule which are 2 Angstrom outside of
the rotor span and lying on the rotor axis. These then have their atom name set to the label. The
residue name is set to the new RTL name which has been added to the internal structural object
_get_chemical_name() method to describe the residue in the PDB file for the user.

Finally the pymol.frame_order user function selects these atoms, hides them and then labels them
using the atom name (x-ax, y-ax, or z-ax).

bugman 2014-07-01

changed /branches/frame_order_cleanup/lib/structure/internal/object.py
changed /branches/frame_order_cleanup/lib/structure/represent/rotor.py
changed /branches/frame_order_cleanup/pipe_control/pymol_control.py
changed /branches/frame_order_cleanup/specific_analyses/frame_order/geometric.py
/branches/frame_order_cleanup/lib/structure/internal/object.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/structure/represent/rotor.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/pipe_control/pymol_control.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/specific_analyses/frame_order/geometric.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.