/** * Generate an InChI string from a CDK structure representation. * * @param container structure representation * @return InChI instance * @throws CDKException InChI could not be generated */ public static InChI generateInchi(IAtomContainer container) throws CDKException { assert !handlers.isEmpty(); return handlers.get(0).generate(container); }