Skip to content

Commit

Permalink
Updated for an API change in loadMolecule() now taking an error handler
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Nov 6, 2011
1 parent 62b0415 commit 8077cdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugins/net.bioclipse.oscar/META-INF/MANIFEST.MF
Expand Up @@ -15,7 +15,8 @@ Require-Bundle: org.eclipse.ui,
org.springframework.osgi.aopalliance.osgi,
net.bioclipse.cdk.business;bundle-version="2.5.0",
org.openscience.cdk.ioformats;bundle-version="1.3.8",
org.eclipse.core.resources;bundle-version="3.6.1"
org.eclipse.core.resources;bundle-version="3.6.1",
org.openscience.cdk.io;bundle-version="1.3.8"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: org.apache.log4j
Bundle-ActivationPolicy: lazy
Expand Down
Expand Up @@ -67,7 +67,7 @@ public List<IMolecule> findResolvedNamedEntities(String text) {
mol = cdk.loadMolecule(
new ByteArrayInputStream(
structure.getValue().getBytes()
), (IChemFormat)CMLFormat.getInstance(), null
), (IChemFormat)CMLFormat.getInstance(), null, null
);
mols.add(mol);
} catch (BioclipseException e) {
Expand Down

0 comments on commit 8077cdc

Please sign in to comment.