public class ShellBalloon extends ShellSDFoutput<org.openscience.cdk.interfaces.IAtomContainer>
Modifier and Type | Field and Description |
---|---|
static String |
BALLOON_EXE |
static String |
BALLOON_HOME |
protected boolean |
hydrogens |
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 |
---|
ShellBalloon() |
Modifier and Type | Method and Description |
---|---|
protected String |
getBalloonHome() |
protected String |
getHomeDir(File file) |
protected String |
getOutputFileName() |
protected String |
getOutputOption() |
protected String |
getPath(File file) |
protected void |
initialize() |
boolean |
isHydrogens() |
protected org.openscience.cdk.interfaces.IAtomContainer |
parseOutput(String path,
org.openscience.cdk.interfaces.IAtomContainer mol)
Does nothing, override with smth meaningfull
|
protected List<String> |
prepareInput(String path,
org.openscience.cdk.interfaces.IAtomContainer mol)
Returns empty string, override with smth meaningfull
|
void |
setHydrogens(boolean hydrogens) |
String |
toString() |
protected org.openscience.cdk.interfaces.IAtomContainer |
transform(org.openscience.cdk.interfaces.IAtomContainer mol) |
protected String |
writeInputSDF(String path,
org.openscience.cdk.interfaces.IAtomContainer mol) |
isReadOutput, setReadOutput
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 BALLOON_EXE
public static final String BALLOON_HOME
protected boolean hydrogens
public ShellBalloon() throws ShellException
ShellException
public boolean isHydrogens()
public void setHydrogens(boolean hydrogens)
protected String getBalloonHome() throws ShellException
ShellException
protected void initialize() throws ShellException
initialize
in class ShellSDFoutput<org.openscience.cdk.interfaces.IAtomContainer>
ShellException
protected String getOutputFileName()
protected String getOutputOption()
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>
protected String getPath(File file)
getPath
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
protected String getHomeDir(File file)
getHomeDir
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
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 String writeInputSDF(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws IOException, org.openscience.cdk.exception.CDKException
writeInputSDF
in class ShellSDFoutput<org.openscience.cdk.interfaces.IAtomContainer>
IOException
org.openscience.cdk.exception.CDKException
protected org.openscience.cdk.interfaces.IAtomContainer parseOutput(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShell
parseOutput
in class ShellSDFoutput<org.openscience.cdk.interfaces.IAtomContainer>
ShellException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.