PyMOL-users,

I'm wondering if there's a way to make the tab completion engine use
the currently loaded (or visible) object names rather than (or in
addition to) the files in the filesystem?  I usually have sessions
with very long object names that I want to include in custom selection
expressions and the tab completion doesn't work because oftentimes the
PDB files are not in the same directory as the session.  I found the
function complete() in modules/pymol/parsing.py that seems to be what
figures out how to complete the command that's been entered.  I think
if I just added a list of the currently loaded objects to the list
obtained by globbing the filesystem, it would do what I'm looking for.
 Any ideas on the best way to do that?

Best,
-Ron

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to