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
# the Machine object
# ===========================================================================
class Machine(CoreObject):
class_name = 'Dream.Machine'
# =======================================================================
# initialise the id the capacity, of the resource and the distribution
# =======================================================================
......@@ -982,7 +981,7 @@ class Machine(CoreObject):
def outputResultsJSON(self):
from Globals import G
from Globals import getConfidenceIntervals
json = {'_class': self.class_name,
json = {'_class': 'Dream.%s' % self.__class__.__name__,
'id': self.id,
'results': {}}
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