Skip to content

Instantly share code, notes, and snippets.

@egonw
Created October 21, 2008 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egonw/18315 to your computer and use it in GitHub Desktop.
Save egonw/18315 to your computer and use it in GitHub Desktop.
dimethylether = cdk.fromSMILES( "COC" );
cdk.addExplicitHydrogens( dimethylether );
cdk.generate3dCoordinates( dimethylether );
// save as CML
cdk.saveCML( dimethylether, "/Virtual/dimethylether.cml" );
ui.open( "/Virtual/dimethylether.cml" ); // this should open a JmolEditor
jmol.minimize();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment