Skip to content

Raise error for missing top directives #318

Description

@fgrunewald

Describe the bug
Currently the topology reader accepts any amount of topology directives.

Expected behavior
It should at least require defaults and atomtypes to be set otherwise the pre-processing fails.

Solution
Check topology after parsing in pre_process. Checking it in preprocess would allow to still manipulate incomplete topology files which is a desirable API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions