Dirk Kostrewa wrote:
Dear Paul,

Am 11.03.2009 um 14:22 schrieb Paul Emsley:

Dear Dirk, David,

>> 2009/3/11 Dirk Kostrewa <[email protected]>:
>>> Dear Paul,
>>>
>>> this is a feature request: I would like to attach notes to the
>>> structure, like "water or sodium", "alternative conformation?",
>>> "peptide flipped", that should be displayed in the next session
>>> like labels as a "three-dimensional" notebook of what I've already
>>> done or want to do.

There is place-text to do this.  That has been available since Coot
0.0.


I can't find anything about "place-text", neither in Coot itself, nor in any of its documentations on the Coot web site - where is it described?


Ah, the old "Coot scripting documentation is cr^^poor" thread, eh? :)


http://www.ysbl.york.ac.uk/~emsley/coot/doc/doxygen/html/c-interface_8h.html

(it's called "place_text" there of course).


>>> This can be very useful, especially to avoid
>>> perpetual re-fitting/omitting of the same feature again, or simply
>>> to mark checkpoints. It should be possible to put a note both at
>>> an atomic position or at the pointer position (to mark unexplained
>>> density for instance). The notes could be saved with the session
>>> file or as an external file that could be read into a new session.
>>> Could you please think about adding this feature?

<snip>


If text is attached to a position in space there is no issue of
transferring annotations and you can use place-text.  Attached is a
simple piece of code to do that where I add a gui wrapper to place-text so that you can make a 3D annotation, and save and load those annotations.

Regards,

Paul.


Thanks, would like to try it. But how do call it? I've saved the code as "test.scm" and opened it with Calculate -> Run Script -> test.scm, but nothing happens?


Yes, you can do that, or:
$ coot --script test.scm


Annotation menu items should have added themselves to the Extension menu.

Paul.

Reply via email to