GOMC icon indicating copy to clipboard operation
GOMC copied to clipboard

Better Error Checking of PSF Files

Open LSchwiebert opened this issue 2 years ago • 1 comments
trafficstars

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

LSchwiebert avatar Apr 01 '23 15:04 LSchwiebert

Note: This is related to issue #404, so it could be closed as a duplicate.

LSchwiebert avatar Apr 01 '23 15:04 LSchwiebert