8000 CIF parser raises YappsSyntaxError instead of StructureFormatError for malformed files · Issue #130 · diffpy/diffpy.structure · GitHub
[go: up one dir, main page]

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0