Add release notes
authorDavid van der Spoel <davidvanderspoel@gmail.com>
Thu, 17 Sep 2020 08:43:36 +0000 (08:43 +0000)
committerChristian Blau <cblau.mail@gmail.com>
Thu, 17 Sep 2020 08:43:36 +0000 (08:43 +0000)
Change-Id: I5320ad4ee975a37e5fe57de1f26935db3f3cc0b4

docs/release-notes/2020/2020.4.rst
src/gromacs/tools/trjcat.cpp

index 054cf5c4370e542f8903b491cf218bcca11e12d4..8fa85d46c1f89ff5eca7908e1ea1175e5bc8edad 100644 (file)
@@ -37,6 +37,13 @@ due to illegal or incorrect memory usage.
 Fixes for ``gmx`` tools
 ^^^^^^^^^^^^^^^^^^^^^^^
 
+Fix default output with gmx trjcat -demux
+"""""""""""""""""""""""""""""""""""""""""
+
+Files would not be written when using default file name output.
+
+:issue:`3653`
+
 Fixes that affect portability
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
index e5a45c8f04840cb71c25d0d9227a5c3ae3be40d3..0d5e1f45cbf806f19ff188a66d4e27caaa313583 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017,2018,2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -596,7 +596,7 @@ int gmx_trjcat(int argc, char* argv[])
             outFilesDemux.resize(nset);
             for (i = 0; (i < nset); i++)
             {
-                outFilesDemux[0] = gmx::formatString("%d_%s", i, name.c_str());
+                outFilesDemux[i] = gmx::formatString("%d_%s", i, name.c_str());
             }
         }
         do_demux(inFiles, outFilesDemux, n, val, t, dt_remd, isize, index, dt, oenv);