Commit 6e665e46 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

class_name attribute removed from Machine

parent c29d48a9
...@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment