ChimeraX.app/Contents/lib/python3.9/site-packages/chimerax/map_data/amira/amira_format.py
if not (line.startswith(b'# AmiraMesh BINARY-LITTLE-ENDIAN 2.1') or
line.startswith(b'# Avizo BINARY-LITTLE-ENDIAN 2.1')):
raise SyntaxError('First line of AmiraMesh file must start with '
'"# AmiraMesh BINARY-LITTLE-ENDIAN 2.1", '
'instead got "%s"' % line[:256])
# if not (line.startswith(b'# AmiraMesh BINARY-LITTLE-ENDIAN 2.1') or
# line.startswith(b'# Avizo BINARY-LITTLE-ENDIAN 2.1')):
# raise SyntaxError('First line of AmiraMesh file must start with '
# '"# AmiraMesh BINARY-LITTLE-ENDIAN 2.1", '
# 'instead got "%s"' % line[:256])
so the version test will not be done.
Or you could use ChimeraX menu Help / Report a Bug... and attach a modest size Amira 3.0 file and I can try it.
Or you could make a copy of your Amira file and edit the first line so instead of saying it is version 3.0 it says it is version 2.1.
Tom
Dear ChimeraX Users,
I have an AmiraMesh .am file exported from Amira 3D 2021.1 (Build date: 2021-06-21 13:21:22, SHA id: 213bd1......13c73e). When I load it into ChimeraX 1.2.5 or ChimeraX 1.3.dev202110231141, ChimeraX tells me the following error.
First line of AmiraMesh file must start with "# AmiraMesh BINARY-LITTLE-ENDIAN 2.1", instead got "b'# AmiraMesh BINARY-LITTLE-ENDIAN 3.0\n'"
Many thanks,
Roden
This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email._______________________________________________
ChimeraX-users mailing list
ChimeraX-users@cgl.ucsf.eduManage subscription:
https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users