From: Thomas H. <tho...@sc...> - 2020-02-11 08:56:34
|
Hi Jason, This should do it: name = cmd.get('session_file') Cheers, Thomas > On Feb 8, 2020, at 5:21 AM, Junsu Park aka. Jason Mosier <par...@gm...> wrote: > > Hello, this may be a very simple question that I just can't find the answer to, but I was wondering how I would go about fetching the session name of the .pse currently open? For example, I have two session files: colors and overlays, and I want my code to print something specific for each colors... and overlay... in a text file or whatever based on which one I have open > > Cheers, > Jason M. > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |