WHOLEMOL: fix example

(cherry picked from commit 30ff9e3cf4fc2f60b846e6dc4e78182885e6fb3b)

Conflicts:
	src/generic/WholeMolecules.cpp
Merge branch 'v2.0' into v2.1

Conflicts:
	src/generic/WholeMolecules.cpp