[PyMOL] image metadata plugin

2007-02-12 Thread gilleain torrance
Hello everybody, I just had an idea for a plugin, but I know I won't have time to make it, so...I thought I would mention it in the hope someone else can. :) Basically, I often make snapshot images (pngs) of scenes. The problem with doing this is that I have learned to be careful to make the

Re: [PyMOL] image metadata plugin

2007-02-12 Thread Andreas Forster
I was actually thinking about a related approach. Could one include a feature in PyMOL allowing the user to save notes with a session? I've really come to like saving sessions but going back to them later I often wonder what the objects are exactly, what the views were meant to represent, which

Re: [PyMOL] how do i unset a cmd.set_key() binding ?

2007-02-12 Thread Peter Adrian Meyer
Hi, > I have a problem with set_key() that appeared when I executed two scripts > sequentially. In both scripts I set the F1 key to do something different > (ok, not a very smart move...). I thought that the newest set_key() would > take precedence over the latest and overtake its adressing, but >

[PyMOL] Metadata for image

2007-02-12 Thread Mark A Saper
Hi Gilleain and Andreas, This is what I use to save information about the image. I redefine the png command. from pymol import cmd import os import re import string import selector def __init__(self): cmd.extend('png',mypng) def mypng(fname, quiet=1): r = 1 format

Re: [PyMOL] image metadata plugin

2007-02-12 Thread DeLano Scientific
Andreas, Gilleain, & others, Agreed -- there is strong demand for annotations within scenes & session files. Currently this is only possible when you define (or redefine a scene) using the command line: scene 001, store, This is the view of the binding site. And note that you can pass in a m