diff --git a/src/api/route-services/work-response.js b/src/api/route-services/work-response.js index b76b59dc7..bd7d8e6a3 100644 --- a/src/api/route-services/work-response.js +++ b/src/api/route-services/work-response.js @@ -24,23 +24,16 @@ class WorkResponseService { async notifyDataUpdate(responseForClient) { const { experimentId } = responseForClient.request; - // this should resend the request so the UI can replay it - // instead of sending the data to everyone + // this should resend the request so the UI can make it again if it needs the data + // instead of sending the data directly to everyone const response = { response: responseForClient, - // request: responseForClient.request, status: NEW, type: DATA_UPDATE, }; - console.log('responseForClientDebug'); - console.log(responseForClient); - if (responseForClient.request.body.name === 'ClusterCells') { const cellSets = JSON.parse(responseForClient.results[0].body); - - console.log('cellSetsDebug'); - console.log(cellSets); await (new ExperimentService()).updateLouvainCellSets(experimentId, cellSets); }