biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
758eba6
)
Fix bug writing TNG output from dump.
author
Magnus Lundborg
<lundborg.magnus@gmail.com>
Tue, 27 May 2014 11:19:04 +0000
(13:19 +0200)
committer
David van der Spoel
<spoel@xray.bmc.uu.se>
Sat, 31 May 2014 17:54:38 +0000
(19:54 +0200)
The output was incorrectly located in an if statement.
Partial fix of #1510
Change-Id: I85823d9369f208f21f4bafe19705e9e4dd2da027
src/gromacs/tools/dump.c
patch
|
blob
|
history
diff --git
a/src/gromacs/tools/dump.c
b/src/gromacs/tools/dump.c
index ad94ac7162c9f21f836d86af3e408af44d8f6251..559328908cf96362d2099f32b5400df04f10243a 100644
(file)
--- a/
src/gromacs/tools/dump.c
+++ b/
src/gromacs/tools/dump.c
@@
-384,6
+384,9
@@
static void list_tng(const char gmx_unused *fn)
/* Can't write any output because we don't know what
arrays are valid. */
fprintf(stderr, "\nWARNING: Incomplete frame at time %g, will not write output\n", frame_time);
+ }
+ else
+ {
list_tng_inner(fn, (0 == i), values, step, frame_time,
n_values_per_frame, n_atoms, prec, nframe, block_name);
}