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
e5759f22
Commit
e5759f22
authored
Apr 15, 2014
by
Ioannis Papagiannopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BatchDecomposition removeEntity updated to signalGiver
parent
bde47715
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
dream/simulation/BatchDecomposition.py
dream/simulation/BatchDecomposition.py
+10
-0
No files found.
dream/simulation/BatchDecomposition.py
View file @
e5759f22
...
...
@@ -127,6 +127,16 @@ class BatchDecomposition(CoreObject):
signaling
=
self
.
signalReceiver
()
if
signaling
:
break
# =======================================================================
# removes an entity from the Machine
# =======================================================================
def
removeEntity
(
self
,
entity
=
None
):
activeObject
=
self
.
getActiveObject
()
activeEntity
=
CoreObject
.
removeEntity
(
self
,
entity
)
# run the default method
activeObject
.
waitToDispose
=
False
# update the waitToDispose flag
if
activeObject
.
canAccept
():
activeObject
.
signalGiver
()
return
activeEntity
# =======================================================================
# method that decomposes the activeEntity into subBatches
...
...
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