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
6e665e46
Commit
6e665e46
authored
Aug 07, 2014
by
Georgios Dagkakis
Committed by
Jérome Perrin
Sep 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
class_name attribute removed from Machine
parent
c29d48a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dream/simulation/Machine.py
dream/simulation/Machine.py
+1
-2
No files found.
dream/simulation/Machine.py
View file @
6e665e46
...
@@ -43,7 +43,6 @@ from RandomNumberGenerator import RandomNumberGenerator
...
@@ -43,7 +43,6 @@ from RandomNumberGenerator import RandomNumberGenerator
# the Machine object
# the Machine object
# ===========================================================================
# ===========================================================================
class
Machine
(
CoreObject
):
class
Machine
(
CoreObject
):
class_name
=
'Dream.Machine'
# =======================================================================
# =======================================================================
# initialise the id the capacity, of the resource and the distribution
# initialise the id the capacity, of the resource and the distribution
# =======================================================================
# =======================================================================
...
@@ -982,7 +981,7 @@ class Machine(CoreObject):
...
@@ -982,7 +981,7 @@ class Machine(CoreObject):
def
outputResultsJSON
(
self
):
def
outputResultsJSON
(
self
):
from
Globals
import
G
from
Globals
import
G
from
Globals
import
getConfidenceIntervals
from
Globals
import
getConfidenceIntervals
json
=
{
'_class'
:
self
.
class_name
,
json
=
{
'_class'
:
'Dream.%s'
%
self
.
__class__
.
__name__
,
'id'
:
self
.
id
,
'id'
:
self
.
id
,
'results'
:
{}}
'results'
:
{}}
if
(
G
.
numberOfReplications
==
1
):
if
(
G
.
numberOfReplications
==
1
):
...
...
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