public class ShellSmi2SDF extends ShellSDFoutput<org.openscience.cdk.interfaces.IAtomContainer>
Modifier and Type | Field and Description |
---|---|
protected boolean |
dropHydrogens |
protected org.openscience.cdk.smiles.SmilesGenerator |
gen |
readOutput
enabled, executables, exitCode, inputFile, logger, os_FreeBSD, os_LINUX, os_LINUX64, os_MAC, os_WINDOWS, os_WINDOWS7, os_WINDOWSVISTA, outputFile, prefix, runAsync, workFolder
Constructor and Description |
---|
ShellSmi2SDF() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
exitCodeOK(int exitVal) |
protected void |
initialize() |
boolean |
isDropHydrogens() |
boolean |
isGenerateSmiles() |
protected List<String> |
prepareInput(String path,
org.openscience.cdk.interfaces.IAtomContainer mol)
Returns empty string, override with smth meaningfull
|
void |
setDropHydrogens(boolean dropHydrogens) |
void |
setGenerateSmiles(boolean generateSmiles) |
String |
toString() |
protected org.openscience.cdk.interfaces.IAtomContainer |
transform(org.openscience.cdk.interfaces.IAtomContainer mol) |
isReadOutput, parseOutput, setReadOutput, writeInputSDF
addExecutable, addExecutable, addExecutableFreeBSD, addExecutableLinux, addExecutableLinux64, addExecutableMac, addExecutableWin, close, getExecutable, getExecutable, getExitCode, getHomeDir, getHomeFromConfig, getID, getInputFile, getMsgemptymolecule, getOutputFile, getPath, getWorkFolder, isEnabled, open, parseOutput, process, processStdOut, runShell, runShell, setEnabled, setExitCode, setInputFile, setOutputFile, setWorkFolder, transform_input, transform
protected boolean dropHydrogens
protected transient org.openscience.cdk.smiles.SmilesGenerator gen
public ShellSmi2SDF() throws ShellException
ShellException
public boolean isDropHydrogens()
public void setDropHydrogens(boolean dropHydrogens)
protected void initialize() throws ShellException
initialize
in class ShellSDFoutput<org.openscience.cdk.interfaces.IAtomContainer>
ShellException
protected List<String> prepareInput(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShell
prepareInput
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
ShellException
protected boolean exitCodeOK(int exitVal)
exitCodeOK
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
protected org.openscience.cdk.interfaces.IAtomContainer transform(org.openscience.cdk.interfaces.IAtomContainer mol)
transform
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
public boolean isGenerateSmiles()
public void setGenerateSmiles(boolean generateSmiles)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.