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
80c677a9
Commit
80c677a9
authored
Aug 20, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction in plugin
parent
5cebc530
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dream/plugins/Batches/BatchesWIPShort.py
dream/plugins/Batches/BatchesWIPShort.py
+1
-0
No files found.
dream/plugins/Batches/BatchesWIPShort.py
View file @
80c677a9
...
@@ -62,6 +62,7 @@ class BatchesWIPShort(plugin.InputPreparationPlugin):
...
@@ -62,6 +62,7 @@ class BatchesWIPShort(plugin.InputPreparationPlugin):
unitsToCompleteBatch
=
standardBatchUnits
unitsToCompleteBatch
=
standardBatchUnits
group
.
sort
(
key
=
lambda
x
:
self
.
getDistanceFromSource
(
data
,
x
))
group
.
sort
(
key
=
lambda
x
:
self
.
getDistanceFromSource
(
data
,
x
))
for
stationId
in
group
:
for
stationId
in
group
:
workingBatchSize
=
nodes
[
stationId
][
'workingBatchSize'
]
stationWIPData
=
[
element
for
element
in
WIPData
if
element
[
0
]
==
stationId
][
0
]
stationWIPData
=
[
element
for
element
in
WIPData
if
element
[
0
]
==
stationId
][
0
]
print
stationWIPData
print
stationWIPData
awaiting
=
stationWIPData
[
1
]
awaiting
=
stationWIPData
[
1
]
...
...
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