Commit c111801b authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update Metric1D and Metric2D to remove JSON conversion when building the grid configuration.

parent 5900bca4
......@@ -950,10 +950,6 @@ class Metric1D(List):
# activate summary feature
grid.features = [{'ftype': 'summary'}]
# JSON encoding
grid.columns = json.dumps(grid.columns)
grid.features = json.dumps(grid.features)
return grid
def to_store(self):
......@@ -1160,10 +1156,6 @@ class Metric2D(BaseReport):
grid.features.append({'ftype': 'summary'})
# JSON encoding
grid.columns = json.dumps(grid.columns)
grid.features = json.dumps(grid.features)
return grid
def to_store(self):
......
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