Skip to content

Commit

Permalink
chore: addressed PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Pol Alvarez <[email protected]>
  • Loading branch information
kafkasl committed Nov 22, 2023
1 parent b2f237f commit e23224b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 2 additions & 0 deletions src/utils/extraActionCreators/downloadProcessedMatrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion src/utils/work/fetchWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e23224b

Please sign in to comment.