public class SMIRKSProcessor extends AbstractStructureProcessor
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
loadExamples |
protected SMIRKSManager |
smrkMan |
protected boolean |
transformationasproperties |
protected List<SMIRKSTransformation> |
transformations |
at_property, at_property_added, at_property_removed, atomtypeasproperties, enabled, logger, sparseproperties| Constructor and Description |
|---|
SMIRKSProcessor(File jsonFile,
Logger logger) |
SMIRKSProcessor(InputStream jsonFile,
Logger logger) |
SMIRKSProcessor(Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureReactions(SMIRKSManager smrkMan) |
SMIRKSTransformation |
getReactionByID(int id) |
List<SMIRKSTransformation> |
getTransformations() |
boolean |
isLoadExamples() |
boolean |
isTransformationasproperties()
assigns performed transformations as atomcontainer properties
|
void |
loadReactionsFromJSON(File jsonFile) |
void |
loadReactionsFromJSON(InputStream fin) |
static SMIRKSTransformation |
parseTransformation(com.fasterxml.jackson.databind.node.ObjectNode node,
boolean loadExample) |
org.openscience.cdk.interfaces.IAtomContainer |
process(org.openscience.cdk.interfaces.IAtomContainer reactant) |
void |
setLoadExamples(boolean loadExamples) |
void |
setTransformationasproperties(boolean transformationasproperties) |
applicable, atomtypes2properties_init, atomtypes2properties, atomtypes2property, atomtypes2property, close, getID, isAtomtypeasproperties, isEnabled, isSparseproperties, open, setAtomtypeasproperties, setEnabled, setSparsepropertiesprotected boolean loadExamples
protected boolean transformationasproperties
protected List<SMIRKSTransformation> transformations
protected SMIRKSManager smrkMan
public SMIRKSProcessor(Logger logger)
public SMIRKSProcessor(File jsonFile, Logger logger) throws Exception
Exceptionpublic SMIRKSProcessor(InputStream jsonFile, Logger logger) throws Exception
Exceptionpublic boolean isLoadExamples()
public void setLoadExamples(boolean loadExamples)
public boolean isTransformationasproperties()
public void setTransformationasproperties(boolean transformationasproperties)
public List<SMIRKSTransformation> getTransformations()
public void loadReactionsFromJSON(File jsonFile) throws Exception
Exceptionpublic void loadReactionsFromJSON(InputStream fin) throws Exception
Exceptionpublic void configureReactions(SMIRKSManager smrkMan) throws Exception
Exceptionpublic SMIRKSTransformation getReactionByID(int id)
public org.openscience.cdk.interfaces.IAtomContainer process(org.openscience.cdk.interfaces.IAtomContainer reactant)
throws Exception
Exceptionpublic static SMIRKSTransformation parseTransformation(com.fasterxml.jackson.databind.node.ObjectNode node, boolean loadExample) throws Exception
ExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.