Created
August 2, 2012 13:14
-
-
Save lukecampbell/3237025 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ion/processes/data/transforms/viz/google_dt.py b/ion/processes/data/transforms/viz/google_dt.py | |
index ae75be0..1deb71d 100644 | |
--- a/ion/processes/data/transforms/viz/google_dt.py | |
+++ b/ion/processes/data/transforms/viz/google_dt.py | |
@@ -6,7 +6,7 @@ | |
''' | |
-from pyon.ion.transform import TransformFunction | |
+from pyon.ion.transforma import TransformAlgorithm | |
from pyon.service.service import BaseService | |
from pyon.core.exception import BadRequest | |
from pyon.public import IonObject, RT, log | |
@@ -27,7 +27,7 @@ tx = TaxyTool() | |
tx.add_taxonomy_set('google_dt_components','Google datatable') | |
-class VizTransformGoogleDT(TransformFunction): | |
+class VizTransformGoogleDT(TransformAlgorithm): | |
""" | |
This class is used for converting incoming data from CDM format to JSON style Google DataTables | |
@@ -53,8 +53,8 @@ class VizTransformGoogleDT(TransformFunction): | |
def on_start(self): | |
super(VizTransformGoogleDT,self).on_start() | |
- | |
- def execute(self, granule): | |
+ @staticmethod | |
+ def execute(granule): | |
log.debug('(Google DT transform): Received Viz Data Packet' ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment