Skip to content

Commit

Permalink
Fix seurat obj not found (#71)
Browse files Browse the repository at this point in the history
* Sample ids property sent as list instead of string
* fix seurat_obj not found

Co-authored-by: Martin Fosco <[email protected]>
Co-authored-by: Oliver Gibson <[email protected]>
Co-authored-by: Xavier Verges <[email protected]>
  • Loading branch information
4 people authored May 27, 2021
1 parent 0725b96 commit 7e93f2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pipeline-runner/src/data-ingest/4_Prepare_experiment.r
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ add_custom_config_per_sample <- function(step_fn, config, scdata){
# We upadte the config file, so to be able to access the raw config we create a copy
config.raw <- config

samples <- seurat_obj$samples
samples <- scdata$samples

for(sample in unique(samples)){
# Downsample the seurat object to a unisample experiment
Expand Down
2 changes: 1 addition & 1 deletion pipeline-runner/src/data-ingest/5_Upload-to-aws.r
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ create_samples_table <- function(config, experiment_id, project_id) {
row.names = 'samples')

samples <- row.names(df_prefiltered)
samples_table$ids = paste0("sample-", samples)
samples_table$ids <- lapply(samples, function(x) paste0("sample-", x, sep = ""))

# For the current datasets it could happen that they are not in the gz format, so we leave the alternative tsv format.
mime_options = c(
Expand Down

0 comments on commit 7e93f2d

Please sign in to comment.