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

operator to output class name correctly

parent 9c228e8b
...@@ -354,7 +354,7 @@ class Operator(ObjectResource): ...@@ -354,7 +354,7 @@ class Operator(ObjectResource):
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,
'family': self.family, 'family': self.family,
'results': {}} 'results': {}}
......
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