Merge commit d30f2cb6 from release-2020 into master
[alexxy/gromacs.git] / python_packaging / src / gmxapi / export_tprfile.cpp
index 58e48728fee6436cee5e94d738baa5e0deb6af59..85387acd875ecfb853313fde4d246d727cb3b32c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -154,15 +154,15 @@ void detail::export_tprfile(pybind11::module& module)
                    return gmxapicompat::copy_tprfile(input, outFile);
                },
                py::arg("source"), py::arg("destination"),
-               "Copy a TPR file from `source` to `destination`.");
-
-    module.def(
-            "rewrite_tprfile",
-            [](std::string input, std::string output, double end_time) {
-                return gmxapicompat::rewrite_tprfile(input, output, end_time);
-            },
-            py::arg("source"), py::arg("destination"), py::arg("end_time"),
-            "Copy a TPR file from `source` to `destination`, replacing `nsteps` with `end_time`.");
+               "Copy a TPR file from ``source`` to ``destination``.");
+
+    module.def("rewrite_tprfile",
+               [](std::string input, std::string output, double end_time) {
+                   return gmxapicompat::rewrite_tprfile(input, output, end_time);
+               },
+               py::arg("source"), py::arg("destination"), py::arg("end_time"),
+               "Copy a TPR file from ``source`` to ``destination``, replacing `nsteps` with "
+               "``end_time``.");
 }
 
 } // end namespace gmxpy