Skip to content

Compare the contents of the parsed CIF files #5

@vaitkus

Description

@vaitkus

It was suggested a few years ago by Marcin Wojdyr that it might be interesting to compare not only the behaviour of the various CIF parsers, but also to check if the parsed content is understood in the same way. This could be done by outputting the parsed data in some common format (e.g. CIF, CIF-JSON) and comparing it with the reference output.

This seems like a time-consuming endeavour, but it might reveal some additional discrepancies in the way certain rarer syntactic constructs are handled. The initial step could be to implement the comparison for a single chosen parser and document the main features of the expected output format (e.g. CIF file with all tags ordered in alphabetical order, etc/). This would serve as a useful example for other developers who would be willing to implement something similar for the CIF parsers that they maintain.

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