Commit 80c677a9 authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in plugin

parent 5cebc530
......@@ -62,6 +62,7 @@ class BatchesWIPShort(plugin.InputPreparationPlugin):
unitsToCompleteBatch=standardBatchUnits
group.sort(key=lambda x: self.getDistanceFromSource(data, x))
for stationId in group:
workingBatchSize=nodes[stationId]['workingBatchSize']
stationWIPData=[element for element in WIPData if element[0] == stationId][0]
print stationWIPData
awaiting=stationWIPData[1]
......
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