diff --git a/src/redux/actions/componentConfig/getTrajectoryPlotPseudoTime.js b/src/redux/actions/componentConfig/getTrajectoryPlotPseudoTime.js index 324d49fe1d..00ff893ea3 100644 --- a/src/redux/actions/componentConfig/getTrajectoryPlotPseudoTime.js +++ b/src/redux/actions/componentConfig/getTrajectoryPlotPseudoTime.js @@ -22,6 +22,8 @@ const getTrajectoryPlotPseudoTime = ( embeddingSettings, } = getState().experimentSettings.processing.configureEmbedding; + // the request needs the embeddingETag to merge that data with the rds + // the embeddingETag is added by the API to this body const body = { name: 'GetTrajectoryAnalysisPseudoTime', embedding: { diff --git a/src/redux/actions/componentConfig/getTrajectoryPlotStartingNodes.js b/src/redux/actions/componentConfig/getTrajectoryPlotStartingNodes.js index 3b2df1ae6f..252b26247b 100644 --- a/src/redux/actions/componentConfig/getTrajectoryPlotStartingNodes.js +++ b/src/redux/actions/componentConfig/getTrajectoryPlotStartingNodes.js @@ -21,6 +21,8 @@ const getTrajectoryPlotStartingNodes = ( const timeout = getTimeoutForWorkerTask(getState(), 'TrajectoryAnalysisStartingNodes'); + // the request needs the embeddingETag to merge that data with the rds + // the embeddingETag is added by the API to this body const body = { name: 'GetTrajectoryAnalysisStartingNodes', embedding: { diff --git a/src/utils/extraActionCreators/downloadProcessedMatrix.js b/src/utils/extraActionCreators/downloadProcessedMatrix.js index de83c321ff..d15743b98f 100644 --- a/src/utils/extraActionCreators/downloadProcessedMatrix.js +++ b/src/utils/extraActionCreators/downloadProcessedMatrix.js @@ -20,6 +20,8 @@ const downloadProcessedMatrix = (experimentId) => async (dispatch, getState) => const taskName = 'DownloadAnnotSeuratObject'; + // the request needs the embeddingETag to merge that data with the rds + // the embeddingETag is added by the API to this body const body = { name: taskName, }; diff --git a/src/utils/work/fetchWork.js b/src/utils/work/fetchWork.js index 1d60d6d0b8..db561462ec 100644 --- a/src/utils/work/fetchWork.js +++ b/src/utils/work/fetchWork.js @@ -3,7 +3,7 @@ import { Environment, isBrowser } from 'utils/deploymentInfo'; import cache from 'utils/cache'; import dispatchWorkRequest from 'utils/work/dispatchWorkRequest'; import downloadFromS3 from 'utils/work/downloadFromS3'; -import waitForWorkRequest from 'waitForWorkRequest'; +import waitForWorkRequest from 'utils/work/waitForWorkRequest'; // retrieveData will try to get the data for the given experimentId and ETag from // the fastest source possible. It will try to get the data in order from: