Fix trjconv when running without a structure file
authorPaul Bauer <paul.bauer.q@gmail.com>
Wed, 22 Aug 2018 09:58:58 +0000 (11:58 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 22 Aug 2018 16:18:43 +0000 (18:18 +0200)
commit54f9fa9def9b3ce4b0a922a4acdecfb1614746c6
tree20b3a3576b8bfd07d9d4033ae7a4bb0dc36bf7fc
parent35d9ca98c92c2371aab02899e327797e4cbce457
Fix trjconv when running without a structure file

When running trjconv without a reference structure file,
the topology information would be left uninitialized and
cause subsequent crashes during the deallocation.

Added tests to cover this behaviour.

Fixes #2619

Change-Id: I501c560ee0f8afca00bc78fd6f81b6841b5a5b57
docs/release-notes/2018/2018.3.rst
src/gromacs/gmxana/gmx_trjconv.cpp
src/gromacs/gmxana/tests/gmx_trjconv.cpp