Skip to content
Snippets Groups Projects
Commit 24504e2c authored by Jean-Karim Heriche's avatar Jean-Karim Heriche
Browse files

Remove warnings about missing ChEMBL/ChEBI IDs.

parent 5a3b7302
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,8 @@ Compound <- R6Class(
}
if(is.na(name)) { stop("Name required to create Compound object") }
if(is.na(ChEMBL_ID) && is.na(ChEBI_ID)) {
warning("Consider setting one of ChEMBL_ID or ChEBI_ID crossreference for new Compound object")
# Too noisy
# warning("Consider setting one of ChEMBL_ID or ChEBI_ID crossreference for new Compound object")
}
self$dbConnection <- dbConnection
if(is.na(ID)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment