Commit c5029a34 authored by Yori 'AGy' Fournier's avatar Yori 'AGy' Fournier
Browse files

Now working with real dataset but under th condition

that fig.datas is less than 1024 bits and that all data
type are evaluable
parent 3249460e
......@@ -210,11 +210,12 @@ class MyFig_client(Figure):
# synchronized figure (server-side)
if (self.client is not None) and (self.syncID != -1):
try:
# try:
if (True):
datas = self.client.syncFigFormatRawData(self.syncID)
except:
print(SEVR+'The server-side figure could not format the data...')
return(False)
# except:
# print(SEVR+'The server-side figure could not format the data...')
# return(False)
for ax, data in zip(self.get_axes(), datas):
ax.data = data
......
......@@ -11,7 +11,7 @@ class ServerInterface(object):
def readData(self, ioFunction, dataName, *args, **kwargs):
content = "['"+str(dataName)+"', '"+ioFunction.__name__+"', '"+str(args)+"', '"+str(kwargs)+"']"
content = "['"+str(dataName)+"', '"+ioFunction.__name__+"', \""+str(args)+"\", \""+str(kwargs)+"\"]"
signal = "("+"'readData'"+', '+str(content)+')'
......
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