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
107dac84
Commit
107dac84
authored
Mar 10, 2015
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction to WIP initiation - case where there is no OrderDecomposition at the start of the route
parent
eb701445
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
dream/plugins/UpdateWIP.py
dream/plugins/UpdateWIP.py
+5
-1
No files found.
dream/plugins/UpdateWIP.py
View file @
107dac84
...
...
@@ -103,7 +103,11 @@ class UpdateWIP(SplitRoute.SplitRoute):
if
designComplete
:
# # if the component is not a mould then put in the second step of its route (the first is OrderDecomposition - it shouldn't be there)
if
not
any
(
station
.
startswith
(
"E"
)
for
station
in
route
[
-
1
][
"stationIdsList"
]):
insertWIPitem
=
[
True
,
1
]
# if there is order decomposition in the route then start at the second step
if
any
(
station
.
startswith
(
"OD"
)
for
station
in
route
[
-
1
][
"stationIdsList"
]):
insertWIPitem
=
[
True
,
1
]
else
:
insertWIPitem
=
[
True
,
0
]
# # if the design is not complete
else
:
# # if the component is design then put it at the start of its route (the start of it's route is QCAD - it should be placed there)
...
...
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