public class OpenBabelAbstractShell<X> extends ShellSDFoutput<X>
Modifier and Type | Field and Description |
---|---|
protected boolean |
hydrogens |
static String |
OBABEL_EXE |
static String |
OBABEL_HOME |
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 |
---|
OpenBabelAbstractShell() |
Modifier and Type | Method and Description |
---|---|
protected String |
getHomeDir(File file) |
protected String |
getOBabelHome() |
protected String |
getOutputFileName() |
protected String |
getOutputOption() |
protected String |
getPath(File file) |
protected void |
initialize() |
boolean |
isHydrogens() |
protected List<String> |
prepareInput(String path,
X mol)
Returns empty string, override with smth meaningfull
|
void |
setHydrogens(boolean hydrogens) |
String |
toString() |
protected org.openscience.cdk.interfaces.IAtomContainer |
transform(X mol) |
isReadOutput, parseOutput, setReadOutput, writeInputSDF
addExecutable, addExecutable, addExecutableFreeBSD, addExecutableLinux, addExecutableLinux64, addExecutableMac, addExecutableWin, close, exitCodeOK, getExecutable, getExecutable, getExitCode, getHomeFromConfig, getID, getInputFile, getMsgemptymolecule, getOutputFile, getWorkFolder, isEnabled, open, parseOutput, process, processStdOut, runShell, runShell, setEnabled, setExitCode, setInputFile, setOutputFile, setWorkFolder, transform_input, transform
public static final String OBABEL_EXE
public static final String OBABEL_HOME
protected boolean hydrogens
public OpenBabelAbstractShell() throws ShellException
ShellException
public boolean isHydrogens()
public void setHydrogens(boolean hydrogens)
protected String getOBabelHome() throws ShellException
ShellException
protected void initialize() throws ShellException
initialize
in class ShellSDFoutput<X>
ShellException
protected String getOutputFileName()
protected String getOutputOption()
protected org.openscience.cdk.interfaces.IAtomContainer transform(X mol)
transform
in class CommandShell<X,org.openscience.cdk.interfaces.IAtomContainer>
protected String getPath(File file)
getPath
in class CommandShell<X,org.openscience.cdk.interfaces.IAtomContainer>
protected String getHomeDir(File file)
getHomeDir
in class CommandShell<X,org.openscience.cdk.interfaces.IAtomContainer>
protected List<String> prepareInput(String path, X mol) throws ShellException
CommandShell
prepareInput
in class CommandShell<X,org.openscience.cdk.interfaces.IAtomContainer>
ShellException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.