Closed adelabriere closed 6 years ago
Hi Alexis, yes please try to give a code for reproducing it. I'll try to debug it asap.
Here is a reproducible example :
nbdb <- biodb:::Biodb$new()
msconn <- nbdb$getFactory()$createConn('massbank.jp')
id_ms <-c('KO002985')
rentry <- nbdb$getFactory()$getEntry("massbank.jp",id_ms,drop=TRUE)
rentry$getFieldValue("inchikey")
Bug does not occur when we use rentry$getFieldValue("inchikey",compute=FALSE)
Infinite recursion sometimes occurs when calling
entry <- getEntry("massbank.jp",some_mass_bank_id,drop=TRUE)
and when the inchi key is then computed after callingentry$getFieldValue("inchikey")
. However it seems quite random and not really dependent of the massbank ID.I had this bug when calling for more than 100 massbank entries
If I manage to build a reproducible example I will put it online.
The reccuring message look like this :
... repeated infinitely. It occurs when using it in a
sapply
function