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, transformaddExecutable, 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, transformprotected DragonDescriptorDictionary descriptors
public static final String DRAGON_EXE
public static final String DRAGON_HOME
protected String[] inFile
protected String[] outFile
public DragonShell()
throws ShellException
ShellExceptionpublic DragonDescriptorDictionary getDescriptors()
public String getDescriptorNamesAsString()
public String[] getDescriptorNames()
public void setDescriptors(Object[] names) throws org.openscience.cdk.exception.CDKException
names - org.openscience.cdk.exception.CDKExceptionpublic 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 AbstractDescriptorShellShellExceptionprotected void initialize()
throws ShellException
initialize in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionprotected 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>ShellExceptionprotected List<String> prepareInput(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShellprepareInput in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionprotected org.openscience.cdk.interfaces.IAtomContainer parseOutput(String path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShellparseOutput in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.