From a4153d01c638c9d01b8df0995bb465ba0c15c8a7 Mon Sep 17 00:00:00 2001 From: Egon Willighagen Date: Tue, 22 Dec 2020 14:49:33 +0100 Subject: [PATCH] Explain what the code example is doing. As suggested in https://github.com/egonw/bacting/issues/11 --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e963cf5..cfb7b7ea 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,10 @@ mvn clean install -Dgpg.skip # Usage It can be used in [Groovy](https://en.wikipedia.org/wiki/Apache_Groovy) by including the -Bacting managers you need: +Bacting managers you need. The following example tells Groovy to download the `CDKManager` +and instantiate it for the given workspace location (as it if was running in Bioclipse +itself), and then converts a [SMILES](https://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system) +string to a Bioclipse `IMolecule` data object: ```groovy @Grab(group='io.github.egonw.bacting', module='managers-cdk', version='0.0.13')