Normally a save session by a python extension is invoked by a trigger SAVE_SESSION.
For restoring a session, several related chimera APIs are available that are typically not used.1) post model restore: SimpleSession.registerAfterModelsCB(afterModelsRestoredCB, arg)
2) BEGIN_RESTORE_SESSION and END_RESTORE_SESSION triggers.
I need to reset extension gui values based on midas positions.I presume a normal restore in the session file does not guarantee that these midas positions will be loaded at that time, so I need to delay the gui updates until the restore process has ended or possibly when the models are loaded loaded.
_______________________________________________What is the distinction between END_RESTORE_SESSION and registerAfterModelsCB?Matthew Dougherty
National Center for Macromolecular Imaging
Baylor College of Medicine
===========================================================================
Chimera-users mailing list
Chimera-users@cgl.ucsf.edu
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users