Skip to content

Commit

Permalink
Clarify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nnn911 committed Aug 30, 2024
1 parent 7a808b7 commit c69e17a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,23 @@ This syntax can be limiting, so you might need to manually add bonds to your str
\ /
C - C
```
Use `CNCCCCC` to select all atoms in this sub-molecule. However, to include the bond marked with `*`, use numerical tags to link atoms. The query string `CN1CCCC1C` correctly selects all atoms and bonds shown in the image, including the bond marked with `*`:
Use `CNCCCCC` to select all atoms in this sub-molecule. This would give you the following selection:
```
- C - N
/
C C - C -
\ /
C - C
```
where one ring closing bond is missing. Numerical tags can be used to include this bond (marked with `*` in the initial image). The query string `CN1CCCC1C` correctly selects all atoms and bonds shown in the image, including the bond marked with `*`:
```
- C - N1
/ \*
C C1 - C -
\ /
C - C
```
All atoms tagged with the same number will be linked, here `N1` and `C1` both having numerical tag `1`.

## Parameters
- `query` / "Query": Query string used to select atoms and bonds.
Expand Down

0 comments on commit c69e17a

Please sign in to comment.