Re: [PyMOL] Getting session file name

2020-02-11 Thread Thomas Holder
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 > 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 sessi

[PyMOL] Getting session file name

2020-02-07 Thread Junsu Park aka. Jason Mosier
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..