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, transform
public static final String SOME_RESULT
public static final String SOME_HOME
protected boolean useOriginalStructure
protected String inFile
protected String[] outFile
public SOMEShell() throws ShellException
ShellException
public 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>
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 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
CommandShell
prepareInput
in class CommandShell<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.interfaces.IAtomContainer>
ShellException
protected org.openscience.cdk.interfaces.IAtomContainer parseOutput(String mopac_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
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>
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>
ShellException
protected boolean canApply(org.openscience.cdk.interfaces.IAtomContainer atomcontainer) throws ShellException
ShellException
public 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.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.