Skip to content

Add function that reads multiline key-value pairs #5

@janbridley

Description

@janbridley

Currently, read_key_value_pairs assumes that all valid keys contain their values on the same line. However, the CIF spec allows for data like the following:

_some_key\n
;
data_for_that_key
;

This is nontrivial to implement in a line-by-line file reader, but could be easily implemented either by reading multiple of lines at a time, or maintaining some state of the previous few lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions