Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#276 closed defect (fixed)

Can't read mmCIF with lowercase cartn_x field name

Reported by: Tom Goddard Owned by: Greg Couch
Priority: major Milestone:
Component: Input/Output Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

I got an mmcif file written by Coot that used _atom_site.cartn_x as a field name that ChimeraX could not read giving the error that there was no _atom_site.Cartn_x. I guess it is expecting uppercase C while the file had lower case c. Supposedly the mmCIF spec says the names are case insensitive.

I'm not going to attach the mmCIF file since it is very large, 60 Mbytes, but it is easy to test by editing any mmCIF.

Change History (3)

comment:1 by Tom Goddard, 10 years ago

This mmcif syntax web page

http://mmcif.wwpdb.org/docs/tutorials/mechanics/pdbx-mmcif-syntax.html

says

"Data category and data item names are not case sensitive."

comment:2 by Greg Couch, 10 years ago

Resolution: fixed
Status: newclosed

Modified readcif code to treat category tags as case insensitive.

comment:3 by pett, 7 years ago

Component: mmCIF Reader/WriterInput/Output

reducing # of categories, so lumping into I/O category

Note: See TracTickets for help on using tickets.