[Chimera-users] Chimera script specify filetype

Thomas Hrabe thrabe at sanfordburnham.org
Sat Aug 2 12:33:27 PDT 2014


Sorry, I didnt realize I sent the pyc file. Here’s the py file





On Aug 2, 2014, at 12:29 PM, Elaine Meng <meng at cgl.ucsf.edu> wrote:

> 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):
> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/filetypes.html>
>
> Maybe try linking the py file instead?  Sorry I don’t have a more definitive answer.  Maybe the others can chime in (eventually).
> Best,
> Elaine
> -----
> 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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140802/85f54a43/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chimeraMutationFrequency2OIDA.py
Type: text/x-python-script
Size: 2693 bytes
Desc: chimeraMutationFrequency2OIDA.py
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140802/85f54a43/attachment.bin>


More information about the Chimera-users mailing list