Re: [PyMOL] Inter-PyMOL communication?

2003-02-13 Thread Jules Jacobsen
Wouldn't an easier way to do this be to have a command whereby you tell
pymol to rotate/translate all seperate molecules relative to their own
centres rather than the group or last loaded molecule centre as it does
currently? That way you only need one pymol open and wouldn't need to have
a master/slave setup.

Jules

On 13 Feb 2003, Gareth Stockwell wrote:


 Is there any way to have more than one PyMOL session respond to the same
 user input?  What I would like to do is the following:

 Have several PyMOL windows open side-by-side, each containing a
 different molecule.  Then, when I click and drag in any of these windows
 (to effect a rotation/translation), ALL of them undergo the same
 transformation.  The reason I want to do this is to compare the
 structures of several related proteins, which have been superimposed and
 are therefore in the same coordinate frame.  At the moment, the only way
 I can do this is by loading them all into the same PyMOL session,
 rotating the view, then toggling each object on/off using the menu at
 the right-hand side, but this is both fiddly and does not permit easy
 comparison of many structures.

 So, Warren, would it be very complicated to establish some kind of IPC
 commumication between PyMOL sessions, where one was designated the
 'master', and all commands executed on that session were piped to each
 of its 'slaves'?

 Gareth

 --
 -
  Gareth Stockwell
  EMBL - European Bioinformatics Institute
  Wellcome Trust Genome Campus
  Hinxton
  Cambridge CB10 1SD
 gar...@ebi.ac.uk
  Tel (+44) 01223 492548
 http://www.ebi.ac.uk/~gareth



 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 PyMOL-users mailing list
 PyMOL-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pymol-users





Re: [PyMOL] Inter-PyMOL communication?

2003-02-13 Thread Gareth Stockwell
Nice idea - the rotational code itself would be fairly easy to
implement, I think - then it would just be a matter of capturing mouse
events and dispatching them to *this* rotation routine instead of the
standard one (with a switch to toggle this mode on/off).

On Thu, 2003-02-13 at 09:55, Jules Jacobsen wrote:
 Wouldn't an easier way to do this be to have a command whereby you tell
 pymol to rotate/translate all seperate molecules relative to their own
 centres rather than the group or last loaded molecule centre as it does
 currently? That way you only need one pymol open and wouldn't need to have
 a master/slave setup.
 
 Jules
 
 On 13 Feb 2003, Gareth Stockwell wrote:
 
 
  Is there any way to have more than one PyMOL session respond to the same
  user input?  What I would like to do is the following:
 
  Have several PyMOL windows open side-by-side, each containing a
  different molecule.  Then, when I click and drag in any of these windows
  (to effect a rotation/translation), ALL of them undergo the same
  transformation.  The reason I want to do this is to compare the
  structures of several related proteins, which have been superimposed and
  are therefore in the same coordinate frame.  At the moment, the only way
  I can do this is by loading them all into the same PyMOL session,
  rotating the view, then toggling each object on/off using the menu at
  the right-hand side, but this is both fiddly and does not permit easy
  comparison of many structures.
 
  So, Warren, would it be very complicated to establish some kind of IPC
  commumication between PyMOL sessions, where one was designated the
  'master', and all commands executed on that session were piped to each
  of its 'slaves'?
 
  Gareth
 
  --
  -
   Gareth Stockwell
   EMBL - European Bioinformatics Institute
   Wellcome Trust Genome Campus
   Hinxton
   Cambridge CB10 1SD
  gar...@ebi.ac.uk
   Tel (+44) 01223 492548
  http://www.ebi.ac.uk/~gareth
 
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  PyMOL-users mailing list
  PyMOL-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pymol-users
 
 
-- 
-
 Gareth Stockwell
 EMBL - European Bioinformatics Institute
 Wellcome Trust Genome Campus
 Hinxton
 Cambridge CB10 1SD  
gar...@ebi.ac.uk
 Tel (+44) 01223 492548  
http://www.ebi.ac.uk/~gareth