From fa7e3347d927777736c088d8d0c09c54880527ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=BCller?= Date: Fri, 18 Oct 2019 14:43:13 +0200 Subject: [PATCH] Make sure too close XTC Files. --- pygmx/xtcio.pyx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pygmx/xtcio.pyx b/pygmx/xtcio.pyx index 408db88..aa21a8c 100755 --- a/pygmx/xtcio.pyx +++ b/pygmx/xtcio.pyx @@ -284,6 +284,8 @@ def append_xtcfile(filename, step, time, box, coords, prec): cdef t_fileio *fio = open_xtc(filename, b'a') write_xtc(fio, len(coords), step, time, b.data, x.data, prec) + close_xtc(fio) + \ No newline at end of file