
Hi David, I don't know python, but assuming you are using the "save" command correctly, you probably just need to get a newer version of ChimeraX. If you report problems, it's helpful to include version and platform. From looking at the ChimeraX change log, you need to get ChimeraX version 1.2 daily build from Oct 19, 2020 or newer, since that's when the ability to write this file type was added: <https://www.rbvi.ucsf.edu/trac/ChimeraX/wiki/ChangeLog> Attribute files: <https://rbvi.ucsf.edu/chimerax/docs/user/formats/defattr.html> Saving an attribute file: <https://rbvi.ucsf.edu/chimerax/docs/user/commands/save.html#attributes> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Mar 3, 2021, at 7:32 AM, David Leeming <david.leeming@student.manchester.ac.uk> wrote:
Dear ChimeraX users,
I'm trying to write a script that will export an attribute file in ChimeraX, (specifically the attribute sasa) I'm looking for a similar output to that of the attribute calculator function in Chimera (see image below) <image.png> I'm currently trying to run the command below to export the attribute file: <image.png> However, when I run this script, it produces the error: "No known data format for file suffix '.defattr'"
Any advice on how I can better go about producing this file or how I can modify my script to prevent this error would be greatly appreciated. Thank you for your time.
Kind regards, David