Skip to content

Commit 61926b7

Browse files
committed
docstring fixes
1 parent 15a53d4 commit 61926b7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/query.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,15 @@ Retrieve 3D records for up to `n` conformers for a compound specified by its `ci
227227
"n" conformers selected represent the overall diversity of the conformer model for a compound. A description of PubChem's diverse
228228
conformer ordering can be found at https://pubchem.ncbi.nlm.nih.gov/release3d.html.
229229
# Example
230-
````
230+
```
231231
julia> sdfs = get_conformers_for_cid(get_cid(name="aspirin"), 5); # get data for the first 5 conformers for aspirin
232+
232233
julia> for (i,sdf) in enumerate(sdfs) # save the 3d SDF files for each retrieved conformer
233234
open("tmp/aspirin_conf"*string(i)*"_3d.sdf", "w") do io
234235
write(io, sdf)
235236
end
236237
end
237-
````
238+
```
238239
"""
239240
function get_conformers_for_cid(cid, n = Inf)
240241
url = prolog * "compound/cid/" * string(cid) * "/conformers/XML"

0 commit comments

Comments
 (0)