Skip to content

CIF parser raises YappsSyntaxError instead of StructureFormatError for malformed files #130

Open
@kwagoner94

Description

@kwagoner94

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions