From 6d4d059fef9b6e3972d3f5af9b557e6eb056c8e9 Mon Sep 17 00:00:00 2001 From: "Timothy M. Shead" Date: Tue, 20 Aug 2013 12:35:49 -0600 Subject: [PATCH] Improved status messages and progress for the timeseries and CCA models. Closes #54. --- packages/slycat/web/server/worker/model/__init__.py | 7 ------- packages/slycat/web/server/worker/model/cca3.py | 6 ++++++ packages/slycat/web/server/worker/model/timeseries.py | 9 +++++++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/packages/slycat/web/server/worker/model/__init__.py b/packages/slycat/web/server/worker/model/__init__.py index 912b97bec..d8f4b6dc4 100644 --- a/packages/slycat/web/server/worker/model/__init__.py +++ b/packages/slycat/web/server/worker/model/__init__.py @@ -228,7 +228,6 @@ def post_model_send_timeseries_rows(self, arguments): name = arguments["name"] rows = arguments["rows"] self.send_timeseries_artifact_binary_rows(name, rows) - self.set_message("Timeseries %s stored %s rows." % (name, self.artifacts[name].row_count)) except KeyError as e: raise cherrypy.HTTPError("400 Missing key: %s" % e.message) @@ -365,7 +364,6 @@ def __init__(self, column_names, column_types): self.named_pipe = None self.stream = None self.thread = None - self.row_count = 0 def get_stream(self): def load_data(database, array, named_pipe, column_types): @@ -393,7 +391,6 @@ def store_rows(self, rows): stream.write("\0") elif type == "double": stream.write(struct.pack("