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
ec1e70b9
Commit
ec1e70b9
authored
Jan 25, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OldStylePartJobShopWIP: fail explicitly in case of using a non machine missing in the model
parent
b21145cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dream/plugins/OldStylePartJobShopWIP.py
dream/plugins/OldStylePartJobShopWIP.py
+2
-0
No files found.
dream/plugins/OldStylePartJobShopWIP.py
View file @
ec1e70b9
...
@@ -24,6 +24,8 @@ class OldStylePartJobShopWIP(plugin.InputPreparationPlugin):
...
@@ -24,6 +24,8 @@ class OldStylePartJobShopWIP(plugin.InputPreparationPlugin):
for
machine_name
in
self
.
data
[
'graph'
][
"node"
].
keys
():
for
machine_name
in
self
.
data
[
'graph'
][
"node"
].
keys
():
if
machine_name
.
startswith
(
step_name
):
if
machine_name
.
startswith
(
step_name
):
machine_name_set
.
add
(
machine_name
)
machine_name_set
.
add
(
machine_name
)
if
not
machine_name_set
:
raise
ValueError
(
"No machine found for step %s"
%
step_name
)
return
machine_name_set
return
machine_name_set
def
getNotMachineNodePredecessorList
(
self
,
step_name
):
def
getNotMachineNodePredecessorList
(
self
,
step_name
):
...
...
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