BioJulia/BioStructures.jl

MMCIF reading error

Closed this issue · 0 comments

When obtaining an mmcif dictionary, if the structure contains atom ids with prime (') it gives an error such as:
ArgumentError("Line ended with quote open: 'C3 H7 N "O2'" 89.093 ")
or
ArgumentError("Opening quote in middle of word: 11 NE2 ? A HIS 16 ? A HIS 16 ? 1_555 CO ? E B12 . ? A B12 201 ? 1_555 C6' ? F FWK . ? B FWK 501 ? 1_555 173.8 ? ")

The second error makes sense since it wasn't surrounded in double quotes but I believe the first error should not happen.

You can test this out with 6H9E

https://files.rcsb.org/download/6H9E.cif

EDIT: Nevermind, it was an error within my file. Sorry about that.