Commit daf942e3 authored by Georgios Dagkakis's avatar Georgios Dagkakis

WIP to be set also in stations that do not work in full batch, but do not share sub-batches

parent 9198dad2
...@@ -56,7 +56,8 @@ class BatchesWIPShort(plugin.InputPreparationPlugin): ...@@ -56,7 +56,8 @@ class BatchesWIPShort(plugin.InputPreparationPlugin):
# set the WIP for every group # set the WIP for every group
for group in groups: for group in groups:
# if we have stations that may share sub-batches # if we have stations that may share sub-batches
if len(group)>1: groupWorkingBatchSize=nodes[group[0]]['workingBatchSize']
if groupWorkingBatchSize<standardBatchUnits:
currentBatchId='Batch_'+str(batchCounter)+'_WIP' currentBatchId='Batch_'+str(batchCounter)+'_WIP'
subBatchCounter=0 subBatchCounter=0
unitsToCompleteBatch=standardBatchUnits unitsToCompleteBatch=standardBatchUnits
......
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