Thank you to those who replied to my question. I'm glad to hear a less generic naming scheme is in the works.

For completeness, I will repost here the solution that Paul gave me that works nicely:

(set-molecule-name 3 "my molecule-name")

Those who wish to use the pythonic version of the above command should use the solution posted by Bernhard below.

Best Regards,
-Andy Torelli


On 7/6/2010 6:43 AM, Paul Emsley wrote:
Bernhard Lohkamp wrote:
You can use (pythonic):

set_molecule_name(imol, name_str)

[Note: I recall some warning that you are encouraged not to use this on
maps; not sure why]


Perhaps because it only works on model molecules and not on map molecules?


Nope, it works on map molecules too (at least for me)!! [you may have to
open/close the Display manager though, not automatically updated ;-(
Another thing to fix!?]

Coordinates molecules name change update the name in the display
manager.  map molecules are not changed in this way - there is a bug
which I will fix.

Paul.

Reply via email to