public class DragonShell extends AbstractDescriptorShell
Modifier and Type | Class and Description |
---|---|
static class |
DragonShell._options |
Modifier and Type | Field and Description |
---|---|
protected DragonDescriptorDictionary |
descriptors |
static String |
DRAGON_EXE |
static String |
DRAGON_HOME |
protected String[] |
inFile |
protected String[] |
outFile |
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 |
---|
DragonShell()
|
Modifier and Type | Method and Description |
---|---|
String[] |
getDescriptorNames() |
String |
getDescriptorNamesAsString() |
DragonDescriptorDictionary |
getDescriptors() |
protected String |
getHome() |
protected String |
getHomeDir(File file) |
protected void |
initialize() |
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
|
Object[] |
setDescriptors() |
void |
setDescriptors(Object[] names)
Descriptor or block names expected
|
String |
toString() |
protected org.openscience.cdk.interfaces.IAtomContainer |
transform_input(org.openscience.cdk.interfaces.IAtomContainer mol) |
canApply, getPath, runShell, transform
addExecutable, addExecutable, addExecutableFreeBSD, addExecutableLinux, addExecutableLinux64, addExecutableMac, addExecutableWin, close, exitCodeOK, getExecutable, getExecutable, getExitCode, getHomeFromConfig, getID, getInputFile, getMsgemptymolecule, getOutputFile, getWorkFolder, isEnabled, open, parseOutput, process, processStdOut, runShell, setEnabled, setExitCode, setInputFile, setOutputFile, setWorkFolder, transform
protected DragonDescriptorDictionary descriptors
public static final String DRAGON_EXE
public static final String DRAGON_HOME
protected String[] inFile
protected String[] outFile
public DragonShell() throws ShellException
ShellException
public DragonDescriptorDictionary getDescriptors()
public String getDescriptorNamesAsString()
public String[] getDescriptorNames()
public void setDescriptors(Object[] names) throws org.openscience.cdk.exception.CDKException
names
- org.openscience.cdk.exception.CDKException
public Object[] setDescriptors()
protected String getHomeDir(File file)
getHomeDir
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
protected String getHome() throws ShellException
getHome
in class AbstractDescriptorShell
ShellException
protected void initialize() throws ShellException
initialize
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
ShellException
protected org.openscience.cdk.interfaces.IAtomContainer transform_input(org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
transform_input
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,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 org.openscience.cdk.interfaces.IAtomContainer parseOutput(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShell
parseOutput
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
ShellException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.