Re: [PyMOL] Autosave session Pymol
Hi Matic, As a proof of concept, the following snippet would save a session file every 30 seconds. You can put this in your pymolrc file. python import os import threading import time from pymol import cmd def _auto_save(): filename = os.path.expanduser(time.strftime('~/pymol-auto-save-%s.pse')) while True: time.sleep(30) # interval in seconds cmd.save(filename, quiet=0) _auto_save = threading.Thread(target=_auto_save) _auto_save.setDaemon(1) _auto_save.start() python end Saving session files is not very fast, so with larger molecules, the interruption will be very noticeable. There is a new experimental setting in PyMOL 1.8.2 which can improve this: pse_binary_dump Cheers, Thomas On 22 Apr 2016, at 02:31, Matic Kisovecwrote: > Dear PyMOL users, > > I would just like to bump this question again. > I would be glad to see some replies either from users or developers. > > Best regards, > Matic > > > On 31. 03. 2016 08:02, Matic Kisovec wrote: >> Dear Pymol users, >> >> a quick google search returned empty regarding the ability of Pymol to >> autosave the session at a specified time interval. >> The feature is available in different programs from text to vector >> editors etc. >> I would find it useful to have the ability to automatically save a >> couple of recent checkpoints while I am using Pymol. >> >> My question is if this would be interesting/useful for anybody and a >> question to the developers if this can be implemented? >> >> Best regards, >> Matic -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ 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
Re: [PyMOL] Autosave session Pymol
Dear PyMOL users, I would just like to bump this question again. I would be glad to see some replies either from users or developers. Best regards, Matic On 31. 03. 2016 08:02, Matic Kisovec wrote: > Dear Pymol users, > > a quick google search returned empty regarding the ability of Pymol to > autosave the session at a specified time interval. > The feature is available in different programs from text to vector > editors etc. > I would find it useful to have the ability to automatically save a > couple of recent checkpoints while I am using Pymol. > > My question is if this would be interesting/useful for anybody and a > question to the developers if this can be implemented? > > Best regards, > Matic > <>-- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___ 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
[PyMOL] Autosave session Pymol
Dear Pymol users, a quick google search returned empty regarding the ability of Pymol to autosave the session at a specified time interval. The feature is available in different programs from text to vector editors etc. I would find it useful to have the ability to automatically save a couple of recent checkpoints while I am using Pymol. My question is if this would be interesting/useful for anybody and a question to the developers if this can be implemented? Best regards, Matic <>-- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140___ 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