Commit ecf860f0 authored by Georgios Dagkakis's avatar Georgios Dagkakis

executor to be able to take uppercase all tag

parent 400deca2
...@@ -36,16 +36,16 @@ def main(input, algorithmAttributes): ...@@ -36,16 +36,16 @@ def main(input, algorithmAttributes):
startTime = time.time() startTime = time.time()
ImportInput(input, algorithmAttributes) ImportInput(input, algorithmAttributes)
if G.ACO == "all": if str(G.ACO).lower() == "all":
print "IN"
G.acoRange = [0,1] G.acoRange = [0,1]
G.minRange = {0:[0,1],1:[0,1]} G.minRange = {0:[0,1],1:[0,1]}
elif G.ACO == "1": elif str(G.ACO) == "1":
G.acoRange = [0,1] G.acoRange = [0,1]
G.minRange = {0:[0,1],1:[G.minDeltaUt]} G.minRange = {0:[0,1],1:[G.minDeltaUt]}
else: else:
G.acoRange = [0] G.acoRange = [0]
G.minRange = {0:[G.minDeltaUt]} G.minRange = {0:[G.minDeltaUt]}
for j in G.acoRange: for j in G.acoRange:
for i in G.minRange[j]: for i in G.minRange[j]:
initialiseVar() initialiseVar()
......
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