Skip to content

Commit

Permalink
Make message from analyse_SAR.CWOSL() more informative.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcol committed Feb 3, 2025
1 parent 48038cf commit d7d67fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/analyse_SAR.CWOSL.R
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,9 @@ error.list <- list()
}))

if(length(unique(temp.matrix.length))!=1){
error.list[[2]] <- "Input curves have different lengths"
error.list[[2]] <- paste0("Input curves have different lengths (",
.collapse(unique(temp.matrix.length),
quote = FALSE), ")")
}

##just proceed if error list is empty
Expand Down

0 comments on commit d7d67fb

Please sign in to comment.