Skip to content
Snippets Groups Projects
Unverified Commit d01034c9 authored by K.Filippopolitis's avatar K.Filippopolitis Committed by GitHub
Browse files

Merge pull request #58 from HBPMedical/fix/properly_load_algorithm_parameter_type

Now we properly load the algorithm parameter types.
parents b0dc92cd 8d8dfc1b
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ public class ExaremeAlgorithmRequestParamDTO {
public ExaremeAlgorithmRequestParamDTO (String name, MIPEngineAlgorithmDTO.MIPEngineAlgorithmParameterDTO parameter){
this.name = name;
this.desc = parameter.getDesc();
this.valueType = parameter.getType();
this.valueType = parameter.getTypes().get(0);
this.type = "other";
this.defaultValue = parameter.getDefault_value();
this.valueNotBlank = parameter.getNotblank();
......
......@@ -51,8 +51,8 @@ public class MIPEngineAlgorithmDTO {
@SerializedName("multiple")
private String multiple;
@SerializedName("type")
private String type;
@SerializedName("types")
private List<String> types;
@SerializedName("desc")
private String desc;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment