Skip to content

Instantly share code, notes, and snippets.

@miquelrojascherto
Created July 21, 2009 14:55
Show Gist options
  • Save miquelrojascherto/151372 to your computer and use it in GitHub Desktop.
Save miquelrojascherto/151372 to your computer and use it in GitHub Desktop.
//Demonstrates how to convert a CDKReactionScheme to ISpectrum
reactionScheme = reaction.loadReactionScheme("Sample Data/Reactions/reactionList.1.cml");
cmlSpectrum = medea.convertToSpectrum(reactionScheme)
spectrum.saveSpectrum(cmlSpectrum,"Virtual/spectrum.cml","cml")
ui.open("/Virtual/spectrum.cml");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment