Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 806 Bytes

ChemSpiderDownload.code.md

File metadata and controls

29 lines (26 loc) · 806 Bytes

ChemSpiderDownload.groovy

Source code

The source code may use or refer to content in a local workspace. This Bioclipse workspace used can be found on GitHub.

Bioclipse 2.6

chemspider.download(9606)
println chemspider.download(9606)

Bacting

To run this code, you first need to install Bacting (Groovy) or pyBacting (Python).

@Grab(group='io.github.egonw.bacting', module='managers-chemspider', version='0.1.2')

workspaceRoot = "../ws"
chemspider = new net.bioclipse.managers.ChemspiderManager(workspaceRoot);

chemspider.download(9606)
println chemspider.download(9606)

Output

CDKMolecule:C3H4ClF3