Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cparsania committed Oct 22, 2024
1 parent 8bfed4c commit 632b31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/chip_related.R
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ make_enriched_heatmap_list <- function(x,
}

if(length(heatmap_color_palette) > 1 ) {
if(length(heatmap_color_palette) != heatmap_columns){
if(length(heatmap_color_palette) != length(heatmap_columns)){
cli::cli_abort("{.arg heatmap_color_palette} must be equal to the length of {.arg heatmap_columns} ")
}

Expand Down

0 comments on commit 632b31b

Please sign in to comment.