Die with helpful note in case of incorrect input to editconf with -conect
authorejjordan <e.jjordan12@gmail.com>
Mon, 15 Apr 2019 19:11:55 +0000 (21:11 +0200)
committerPaul Bauer <paul.bauer.q@gmail.com>
Tue, 16 Apr 2019 07:56:29 +0000 (09:56 +0200)
commit102447a5dd487c7c45d77601073762c75483f305
tree167e0469a4ee32e15b814d089e6a171dfba0375c
parent9cc22661267f9b82e5c2f29cfdabba2233c237ec
Die with helpful note in case of incorrect input to editconf with -conect

Previously editconf would give a cryptic error message
Assertion failed:
Condition: fio->xdr != nullptr
Implementation error: NULL XDR pointers
if -conect was specified and a tpr was not supplied.
This is now replaced by a fatal error

Change-Id: I69efc6d36c8dd8314b2656e88407e8ba00915fd7
src/gromacs/gmxpreprocess/editconf.cpp