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, setSparseproperties
protected boolean loadExamples
protected boolean transformationasproperties
protected List<SMIRKSTransformation> transformations
protected SMIRKSManager smrkMan
public SMIRKSProcessor(Logger logger)
public SMIRKSProcessor(File jsonFile, Logger logger) throws Exception
Exception
public SMIRKSProcessor(InputStream jsonFile, Logger logger) throws Exception
Exception
public 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
Exception
public void loadReactionsFromJSON(InputStream fin) throws Exception
Exception
public void configureReactions(SMIRKSManager smrkMan) throws Exception
Exception
public SMIRKSTransformation getReactionByID(int id)
public org.openscience.cdk.interfaces.IAtomContainer process(org.openscience.cdk.interfaces.IAtomContainer reactant) throws Exception
Exception
public static SMIRKSTransformation parseTransformation(com.fasterxml.jackson.databind.node.ObjectNode node, boolean loadExample) throws Exception
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.