[Chimera-users] Chimera script specify filetype

Elaine Meng meng at cgl.ucsf.edu
Sat Aug 2 12:29:02 PDT 2014

Hi Thomas,
This is a little out of my area, but my understanding is that the filename extension .py or .pyc will be recognized automatically as Python.  I find this is true for .py as well as my locally (on this computer) generated .pyc files, but not for the file that you sent.  I don’t know what is different about the file you sent, or whether it could be ascribed to .pyc not being compatible between different platforms.

Here’s the list of Chimera filetypes and corresponding filename suffixes (and prefixes that could be used in the open command when the suffix isn’t present):

Maybe try linking the py file instead?  Sorry I don’t have a more definitive answer.  Maybe the others can chime in (eventually).
Elaine C. Meng, Ph.D.                       
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Aug 2, 2014, at 12:01 PM, Thomas Hrabe <thrabe at sanfordburnham.org> wrote:

> Hi everyone,
> I have a donwload option on our page for chimera python scripts - one example is attached.
> When you open it, chimera asks for the filetype. How can I hardocde it’s a PDB file?
> Thanks,
> Thomas
> <chimeraMutationFrequency4DKXB.pyc>

More information about the Chimera-users mailing list