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
3034739b
Commit
3034739b
authored
Jul 14, 2014
by
Ioannis Papagiannopoulos
Committed by
Georgios Dagkakis
Sep 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cherry-pick from readWIPseperatelly. correction in createOrderComponents
parent
946964e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dream/simulation/OrderDecomposition.py
dream/simulation/OrderDecomposition.py
+3
-2
No files found.
dream/simulation/OrderDecomposition.py
View file @
3034739b
...
...
@@ -246,8 +246,9 @@ class OrderDecomposition(CoreObject):
elementIds
=
element
.
get
(
'stationIdsList'
,[])
for
obj
in
G
.
ObjList
:
for
elementId
in
elementIds
:
if
obj
.
id
==
elementId
and
obj
.
type
==
'Exit'
:
exitAssigned
=
True
type
=
obj
.
__class__
.
__name__
if
obj
.
id
==
elementId
and
(
obj
.
type
==
'Exit'
or
type
==
'MouldAssembly'
or
type
==
'MouldAssemblyBuffer'
):
exitAssigned
=
True
# Below it is to assign assemblers if there are any in the corresponding Global list
if
not
exitAssigned
:
if
len
(
G
.
MouldAssemblyList
)
!=
0
:
...
...
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