private final CiApplication app = CiApplication.getInstance();
- private String toolName;
+ private String tool;
private Map<String, Collection<String>> vParams = new HashMap<>();
public TreeJob(String alignmentFilePath)
{
- cipresClient = new CiClient(
- app.getAppKey(), app.getUsername(), app.getPassword(),
- app.getRestUrl()
- );
+ this();
inputParams.put("infile_", alignmentFilePath);
}
+ public TreeJob(String alignmentFilePath, String toolName)
+ {
+ this(alignmentFilePath);
+ tool = toolName;
+ }
+
+
+
/**
public String getTool()
{
- return toolName;
+ return tool;
}
public void setTool(String toolName)
{
- this.toolName = toolName;
+
+ if (!(this.tool.equals(toolName)))
+ {
+ this.tool = toolName;
+ paramsValidated = false;
+ }
+
}
/**