Class CheetahInterpreter
java.lang.Object
fr.ens.biologie.genomique.eoulsan.galaxytools.CheetahInterpreter
This class create a Cheetah interpreter, it can build a command line tool from command tag from
Galaxy tool XML file.
- Since:
- 2.0
- Author:
- Sandrine Perrin
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCheetahInterpreter(String cheetahScript, Map<String, String> variables) Instantiates a new tool Cheetah script interpreter. -
Method Summary
-
Field Details
-
VAR_CMD_NAME
The Constant VAR_CMD_NAME.- See Also:
-
PYTHON_VARIABLES_DICT_NAME
The Constant INSTANCE_NAME.- See Also:
-
CALL_METHOD
The Constant CALL_METHOD.- See Also:
-
-
Constructor Details
-
CheetahInterpreter
public CheetahInterpreter(String cheetahScript, Map<String, String> variables) throws EoulsanExceptionInstantiates a new tool Cheetah script interpreter.- Parameters:
cheetahScript- the Cheetah script to executevariables- the variables of the script- Throws:
EoulsanException- if the constructor fails
-
-
Method Details
-
execute
Execute script by Python interpreter and replace variable name by value.- Returns:
- final command line
- Throws:
EoulsanException- if an error throws by interpretation.
-