public class SOMEShell extends CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
| Modifier and Type | Field and Description |
|---|---|
protected String |
inFile |
protected String[] |
outFile |
static String |
SOME_HOME |
static String |
SOME_RESULT |
protected boolean |
useOriginalStructure |
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 |
|---|
SOMEShell() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canApply(org.openscience.cdk.interfaces.IAtomContainer atomcontainer) |
protected String |
getHomeDir(File file) |
protected String |
getPath(File file) |
protected void |
initialize() |
boolean |
isUseOriginalStructure() |
protected org.openscience.cdk.interfaces.IAtomContainer |
parseOutput(String mopac_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
|
org.openscience.cdk.interfaces.IAtomContainer |
process(org.openscience.cdk.interfaces.IAtomContainer target) |
org.openscience.cdk.interfaces.IAtomContainer |
runShell(org.openscience.cdk.interfaces.IAtomContainer mol) |
void |
setUseOriginalStructure(boolean useOriginalStructure) |
String |
toString() |
protected org.openscience.cdk.interfaces.IAtomContainer |
transform_input(org.openscience.cdk.interfaces.IAtomContainer mol) |
protected org.openscience.cdk.interfaces.IAtomContainer |
transform(org.openscience.cdk.interfaces.IAtomContainer mol) |
addExecutable, addExecutable, addExecutableFreeBSD, addExecutableLinux, addExecutableLinux64, addExecutableMac, addExecutableWin, close, exitCodeOK, getExecutable, getExecutable, getExitCode, getHomeFromConfig, getID, getInputFile, getMsgemptymolecule, getOutputFile, getWorkFolder, isEnabled, open, parseOutput, processStdOut, runShell, setEnabled, setExitCode, setInputFile, setOutputFile, setWorkFolder, transformpublic static final String SOME_RESULT
public static final String SOME_HOME
protected boolean useOriginalStructure
protected String inFile
protected String[] outFile
public SOMEShell()
throws ShellException
ShellExceptionpublic boolean isUseOriginalStructure()
public void setUseOriginalStructure(boolean useOriginalStructure)
protected String getHomeDir(File file)
getHomeDir in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>protected 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 String getPath(File file)
getPath 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
CommandShellprepareInput in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionprotected org.openscience.cdk.interfaces.IAtomContainer parseOutput(String mopac_path, org.openscience.cdk.interfaces.IAtomContainer mol) throws ShellException
CommandShellparseOutput in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionprotected 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 org.openscience.cdk.interfaces.IAtomContainer runShell(org.openscience.cdk.interfaces.IAtomContainer mol)
throws ShellException
runShell in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>ShellExceptionprotected boolean canApply(org.openscience.cdk.interfaces.IAtomContainer atomcontainer)
throws ShellException
ShellExceptionpublic org.openscience.cdk.interfaces.IAtomContainer process(org.openscience.cdk.interfaces.IAtomContainer target)
throws net.idea.modbcum.i.exceptions.AmbitException
process in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>process in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>net.idea.modbcum.i.exceptions.AmbitExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.