### Problem Malformed CIF files now raise `YappsSyntaxError` from the underlying PyCifRW parser. This breaks tests that expect `StructureFormatError`. ### Proposed solution Catch `YappsSyntaxError` and raise `StructureFormatError` instead in the CIF parser.