Skip to content

Better Error Checking of PSF Files #491

@LSchwiebert

Description

@LSchwiebert

Is your feature request related to a problem? Please describe.

GOMC currently does not check that the PSF file contains all the required dihedrals. This results in a segfault if a needed dihedral has been omitted.

Describe the solution you'd like

The code should check, based on the moves, which dihedrals are needed. If any are missing, it should generate an appropriate error message and exit.

Describe alternatives you've considered

None. But the current behavior is clearly not user-friendly, as a segfault provides minimal information on the cause.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions