X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Futil%2Fproxy.py;h=9545a5ca20ee034853e1db98dfd7b61b531a3cb4;hb=6adcdc48be0c061d3a0ae91344f22d3d053f03b5;hp=ac2f6867c17fb1a7a4dba8a5635f46f623f8a0fe;hpb=f8f229ec78d11fad186959dcbef658bc7add167f;p=nepi.git diff --git a/src/nepi/util/proxy.py b/src/nepi/util/proxy.py index ac2f6867..9545a5ca 100644 --- a/src/nepi/util/proxy.py +++ b/src/nepi/util/proxy.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- import base64 @@ -592,7 +591,7 @@ class ExperimentSuiteServer(BaseServer): self._repetitions = repetitions self._wait_guids = wait_guids self._access_config = access_config - self._experitment_suite = None + self._experiment_suite = None def post_daemonize(self): from nepi.core.execute import ExperimentSuite @@ -604,25 +603,25 @@ class ExperimentSuiteServer(BaseServer): @Marshalling.args() @Marshalling.retval(int) def current(self): - return str(self._experiment_suite.current) + return self._experiment_suite.current() @Marshalling.handles(STATUS) @Marshalling.args() @Marshalling.retval(int) def status(self): - return self._experiment_suite.status + return self._experiment_suite.status() @Marshalling.handles(FINISHED) @Marshalling.args() - @Marshalling.retval(bool) + @Marshalling.retval(Marshalling.bool) def is_finished(self): - return self._experiment_suite.is_finished + return self._experiment_suite.is_finished() @Marshalling.handles(ACCESS_CONFIGURATIONS) @Marshalling.args() @Marshalling.retval( Marshalling.pickled_data ) - def access_configurations(self): - return self._experiment_suite.access_configurations + def get_access_configurations(self): + return self._experiment_suite.get_access_configurations() @Marshalling.handles(START) @Marshalling.args()