Commit 70d6ddcf authored by Georgios Dagkakis's avatar Georgios Dagkakis

label of results button changed in Batch instance

parent ceb0dd5a
...@@ -78,10 +78,12 @@ class BatchesACO(ACO): ...@@ -78,10 +78,12 @@ class BatchesACO(ACO):
if not self.checkIfThereAreOperators(data): if not self.checkIfThereAreOperators(data):
data["result"]["result_list"] = self.runOneScenario(data)['result']['result_list'] data["result"]["result_list"] = self.runOneScenario(data)['result']['result_list']
data["result"]["result_list"][-1]["score"] = '' data["result"]["result_list"][-1]["score"] = ''
data["result"]["result_list"][-1]["key"] = "Go To Results" data["result"]["result_list"][-1]["key"] = "Go To Results Page"
return data return data
# else run ACO # else run ACO
data['general']['numberOfSolutions']=1 # default of 1 solution for this instance data['general']['numberOfSolutions']=1 # default of 1 solution for this instance
data["general"]["distributorURL"]=None # no distributor currently, to be added in the GUI data["general"]["distributorURL"]=None # no distributor currently, to be added in the GUI
ACO.run(self, data) ACO.run(self, data)
data["result"]["result_list"][-1]["score"] = ''
data["result"]["result_list"][-1]["key"] = "Go To Results Page"
return data return data
\ No newline at end of file
Markdown is supported
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