Skip to content

Commit

Permalink
update error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
HajkD committed Jul 11, 2020
1 parent ff7a021 commit 020540d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/codon_aln.R
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ codon_aln <- function(file_aln,
stop(
"Please check the correct path to ",
tool,
"... the interface call did not work properly."
"... the interface call did not work properly.", call. = FALSE
)
})
} else {
Expand Down Expand Up @@ -219,14 +219,14 @@ codon_aln <- function(file_aln,
stop(
"Please check the correct path to ",
tool,
"... the interface call did not work properly."
"... the interface call did not work properly.", call. = FALSE
)
})
}
}

if (!quiet) {
print(paste0("Codon Alignment successfully written in ", file.out, "."))
message(paste0("Codon Alignment successfully written in ", file.out, "."))
}


Expand All @@ -241,7 +241,7 @@ codon_aln <- function(file_aln,
"Something went wront with Pal2Nal.pl .",
"\n",
file.out,
" could not be read properly."
" could not be read properly.", call. = FALSE
)
})
}
Expand Down

0 comments on commit 020540d

Please sign in to comment.