Bug #1262
g_select documentation error
Description
I found a small error in the g_select documentation. One of the examples is:
All atoms farther than 1 nm of a fixed position:
not within 1 of (1.2, 3.1, 2.4)
However, that exact syntax gave a selection error in both 4.5.5 and 4.6. Earlier in the documentation the correct form is specified as "A constant position can be defined as [XX, YY, ZZ], where XX, YY and ZZ are real numbers." Using square brackets does parse correctly. I believe this is just a documentation error unless I'm making a mistake I'm unaware of.
Obviously a minor change but perhaps worth fixing to avoid confusion.
Associated revisions
History
#1 Updated by Teemu Murtola over 6 years ago
- Category set to selections
- Status changed from New to Fix uploaded
- Assignee set to Teemu Murtola
- Target version set to 4.6.2
- Affected version - extra info set to 4.5.*, 4.6-4.6.1
Thanks for reporting, fix uploaded at https://gerrit.gromacs.org/#/c/2398/.
#2 Updated by Teemu Murtola over 6 years ago
- Status changed from Fix uploaded to Resolved
- % Done changed from 0 to 100
Applied in changeset f6c0084a2e5365353e9e8adcabbae813369fbe2f.
#3 Updated by Teemu Murtola over 6 years ago
- Status changed from Resolved to Closed
Fix an error in selection online help.
Fixes #1262.
Change-Id: Ia9144690327b852dfab58e833cc2fdc20579b277