Remove cell ids from engine

Previously I just removed them from the driver
This commit is contained in:
Charlotte Weaver
2018-07-06 15:38:42 -07:00
parent e3bf06ca61
commit 354eacc3c8
2 changed files with 5 additions and 15 deletions
+1 -3
View File
@@ -193,7 +193,6 @@ class CellsAPI(Resource):
def get(self):
from app import data
payload = {
"cellids": [],
"metadata": [],
"cellcount": 0,
"graph": [],
@@ -205,8 +204,7 @@ class CellsAPI(Resource):
payload["metadata"] = data.metadata(filtered_data)
payload["ranges"] = data.metadata_ranges(filtered_data)
payload["graph"] = data.create_graph(filtered_data)
payload["cellids"] = data.cellids(filtered_data)
payload["cellcount"] = len(payload["cellids"])
payload["cellcount"] = data.cell_count
return make_payload(payload)