Skip to content

Commit

Permalink
Merge pull request #980 from hms-dbmi-cellenics/fix-download-rds
Browse files Browse the repository at this point in the history
fix download processed
  • Loading branch information
alexvpickering authored Feb 13, 2024
2 parents 58a2f3f + 3c09366 commit becdb3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ exports[`DownloadDataButton Downloads processed matrix properly 1`] = `
"testae48e318dab9a1bd0bexperiment-0",
{
"embeddingMethod": "umap",
"isSeurat": undefined,
"isSeurat": false,
"name": "DownloadAnnotSeuratObject",
},
[Function],
Expand Down
3 changes: 2 additions & 1 deletion src/utils/extraActionCreators/downloadProcessedMatrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ const downloadProcessedMatrix = (experimentId) => async (dispatch, getState) =>
const {
method: embeddingMethod,
// embedding is saved in R object if downloading from project created by Seurat object upload
useSaved: isSeurat,
useSaved,
} = getState().experimentSettings.processing.configureEmbedding.embeddingSettings;

await dispatch(loadEmbedding(experimentId, embeddingMethod, true));

const taskName = 'DownloadAnnotSeuratObject';
const isSeurat = useSaved || false;

// the request needs the embeddingETag to merge that data with the rds
// the embeddingETag is added by the API to this body
Expand Down

0 comments on commit becdb3b

Please sign in to comment.