[Chimera-users] automating a task

Dieter Blaas dieter.blaas at meduniwien.ac.at
Mon Mar 23 22:32:19 PDT 2020

Dear Elaine and all,

       I need to run the following repeatedly on five loaded volumes 
(x1.mrc, x2.mrc, x3.mrc, x4.mrc, and x5.mrc) each time with a different x:

Tools > Volume Data > Surface Color >  Color Surface x1.mrc by volume 
data gradient norm volume file x1.mrc > options set > color

  The colors and palette settings remain the same for all runs.

Is there a way of automating this with a script? I have tried to save 
the session, change all occurrences of x for the different x but on 
evoking the modified python script all volumes are shown in the correct 
arrangement and level but not coloured and I get the Chimera Warning:

Could not restore surface color on surface model with id 0.0 because 
volume used in colouring was not restored

Thank you very much, stay healthy!


Dieter Blaas,
Max Perutz Laboratories
Medical University of Vienna,
Inst. Med. Biochem., Vienna Biocenter (VBC),
Dr. Bohr Gasse 9/3,
A-1030 Vienna, Austria,
Tel: 0043 1 4277 61630,
Mobile: 0043 699 1942 1659
e-mail: dieter.blaas at meduniwien.ac.at

More information about the Chimera-users mailing list