Change blockWidth > 60 from error to warning

This commit is contained in:
hyginn 2017-11-20 19:00:55 -05:00
parent a1b5eb7b90
commit 82841de74a

View File

@ -44,7 +44,7 @@ writeALN <- function(ali,
stop("PANIC: parameter \"blockWidth\" must be greater than zero.")
}
if (blockWidth > 60) {
stop("PANIC: \"blockWidth\" for CLUSTAL format can't be greater than 60.")
warning("Programs that read CLUSTAL format might not expect blockWidth > 60.")
}
# Extract the raw data from the objects depending on their respective class