File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
228228conformer ordering can be found at https://pubchem.ncbi.nlm.nih.gov/release3d.html.
229229# Example
230- ````
230+ ```
231231julia> sdfs = get_conformers_for_cid(get_cid(name="aspirin"), 5); # get data for the first 5 conformers for aspirin
232+
232233julia> 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"""
239240function get_conformers_for_cid (cid, n = Inf )
240241 url = prolog * " compound/cid/" * string (cid) * " /conformers/XML"
You can’t perform that action at this time.
0 commit comments