Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
daf942e3
Commit
daf942e3
authored
Aug 20, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP to be set also in stations that do not work in full batch, but do not share sub-batches
parent
9198dad2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dream/plugins/Batches/BatchesWIPShort.py
dream/plugins/Batches/BatchesWIPShort.py
+2
-1
No files found.
dream/plugins/Batches/BatchesWIPShort.py
View file @
daf942e3
...
...
@@ -56,7 +56,8 @@ class BatchesWIPShort(plugin.InputPreparationPlugin):
# set the WIP for every group
for
group
in
groups
:
# 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'
subBatchCounter
=
0
unitsToCompleteBatch
=
standardBatchUnits
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment