From 4a75d38d74c39b278c03f98b0dceebdfbc44423f Mon Sep 17 00:00:00 2001 From: Giovanni Bussi <giovanni.bussi@gmail.com> Date: Fri, 21 Apr 2017 09:36:43 +0200 Subject: [PATCH] Small fixes in doc --- src/colvar/Gyration.cpp | 1 - user-doc/Syntax.txt | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/colvar/Gyration.cpp b/src/colvar/Gyration.cpp index e348b6b22..9471593e9 100644 --- a/src/colvar/Gyration.cpp +++ b/src/colvar/Gyration.cpp @@ -76,7 +76,6 @@ periodic image. The following input tells plumed to print the radius of gyration of the chain containing atoms 10 to 20. \verbatim -WHOLEMOLECULES ENTITY0=10-20 GYRATION TYPE=RADIUS ATOMS=10-20 LABEL=rg PRINT ARG=rg STRIDE=1 FILE=colvar \endverbatim diff --git a/user-doc/Syntax.txt b/user-doc/Syntax.txt index cfa5f902c..47c73c1f2 100644 --- a/user-doc/Syntax.txt +++ b/user-doc/Syntax.txt @@ -15,7 +15,10 @@ which provide PLUMED with more details as to how the action is to be performed. (in which they tell PLUMED to do the calculation in a particular way - for example NOPBC tells PLUMED to not use the periodic bounadry conditions when calculating a particular colvar) or they can be words followed by an equals sign and a comma separated list _with no spaces_ of numbers or characters (so for example ATOMS=1,2,3,4 tells PLUMED to use atom numbers 1,2,3 and 4 in -the calculation of a particular colvar). Space separated lists can be used instead of commma separated list if the entire list +the calculation of a particular colvar). +The reason why spaces are not admitted is that PLUMED should be able to understand when the list of atoms +ended and a new keyword should be expected. +Space separated lists can be used instead of commma separated list if the entire list is enclosed in curly braces (e.g. ATOMS={1 2 3 4}). Please note that you can split commands over multiple lines by using \ref ContinuationLines. -- GitLab