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
82b7d3e0
Commit
82b7d3e0
authored
May 13, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction in merging steps of the gantt
parent
c19ac9fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dream/plugins/Batches/BatchesOperatorGantt.py
dream/plugins/Batches/BatchesOperatorGantt.py
+4
-0
No files found.
dream/plugins/Batches/BatchesOperatorGantt.py
View file @
82b7d3e0
...
...
@@ -74,6 +74,10 @@ class BatchesOperatorGantt(plugin.OutputPreparationPlugin, TimeSupportMixin):
k
=
0
for
record
in
schedule
:
for
nextRecord
in
schedule
[
k
+
1
:]:
# break on the first element with different stationId
if
not
(
nextRecord
[
'stationId'
]
==
record
[
'stationId'
]):
break
# if the stationId is the same break
if
nextRecord
[
'stationId'
]
==
record
[
'stationId'
]
\
and
not
record
is
schedule
[
-
1
]:
nextExitTime
=
nextRecord
.
get
(
'exitTime'
,
maxSimTime
)
...
...
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