File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
tools/dockerfiles/scripts/diff_tools Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -256,8 +256,17 @@ for (i in 1:length(selected_contrasts)) {
256256}
257257print(" Collected DESeq results" )
258258collected_deseq_results <- collected_deseq_results %> %
259- rownames_to_column(var = " Feature" ) # we need to to join with cluster information
259+ rownames_to_column(var = " Feature" ) # we need to to join with cluster information
260260print(head(collected_deseq_results ))
261+ if (! any(grepl(" _padj$" , colnames(collected_deseq_results )))){ # to check that we have at least one contrast successfully calculated
262+ print(
263+ paste(
264+ " Exiting: neither of the selected" ,
265+ " contrasts were successfully calculated."
266+ )
267+ )
268+ quit(save = " no" , status = 1 , runLast = FALSE )
269+ }
261270
262271print(
263272 paste(
You can’t perform that action at this time.
0 commit comments