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
c7edb5ca
Commit
c7edb5ca
authored
Feb 05, 2014
by
Georgios Dagkakis
Committed by
Jérome Perrin
Feb 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug in event generator fixed
parent
8792ebaf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dream/simulation/LineGenerationJSON.py
dream/simulation/LineGenerationJSON.py
+1
-1
No files found.
dream/simulation/LineGenerationJSON.py
View file @
c7edb5ca
...
...
@@ -898,7 +898,7 @@ def createObjects():
# infinity (had to be done to make it as float)
if
stop
<
0
:
stop
=
infinity
interval
=
float
(
element
.
get
(
'
start
'
,
'1'
))
# get the interval of the generator / default 1
interval
=
float
(
element
.
get
(
'
interval
'
,
'1'
))
# get the interval of the generator / default 1
duration
=
float
(
element
.
get
(
'duration'
,
0
))
# get the duration of the generator / default 0
method
=
(
element
.
get
(
'method'
,
None
))
# get the method to be run / default None
method
=
method
.
split
(
'.'
)
#the method is given as 'Path.MethodName'
...
...
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