Scripting image writing in Mac OSX

I have a Chimera script that takes a set of attribute files and generates a collection of scenes images. This script is usually run on Scientific Linux using the Headless Linux 64-bit distribution of Chimera. I'm now trying to run this script on Mac OSX Mavericks and hitting issues with the GUI. If I pass the --nogui flag to Chimera, then the script fails, stating that the GUI is necessary to save images. If I remove the flag, the GUI starts up correctly, but scripted control stops once the new attributes are defined. The user is prompted by the Render by Attribute window, and the script will not progress until the user confirms the changes and closes the GUI. How can I get the script to run start-to-finish without stalling for user-interaction, the way it does in linux? Thanks! Mike Sivley PhD Student in Biomedical Informatics Center for Human Genetics Research Vanderbilt University

Hi Mike, You don't specify whether this is a Chimera command script or a Python script, but I'm going to guess it's a command script and that you're using the defattr command. If so, you need to add raiseTool false to your command to suppress the Render by Attribute interface. I hope this helps. --Eric Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu On Jan 16, 2015, at 12:53 PM, Mike Sivley <mike.sivley354@gmail.com> wrote:
I have a Chimera script that takes a set of attribute files and generates a collection of scenes images. This script is usually run on Scientific Linux using the Headless Linux 64-bit distribution of Chimera. I'm now trying to run this script on Mac OSX Mavericks and hitting issues with the GUI. If I pass the --nogui flag to Chimera, then the script fails, stating that the GUI is necessary to save images. If I remove the flag, the GUI starts up correctly, but scripted control stops once the new attributes are defined. The user is prompted by the Render by Attribute window, and the script will not progress until the user confirms the changes and closes the GUI.
How can I get the script to run start-to-finish without stalling for user-interaction, the way it does in linux?
Thanks!
Mike Sivley PhD Student in Biomedical Informatics Center for Human Genetics Research Vanderbilt University _______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
participants (2)
-
Eric Pettersen
-
Mike Sivley