Error in ChemmineR function propOB() and ChemmineOB prop_OB()
0
0
Entering edit mode
@user-24352
Last seen 3.0 years ago
Portugal

I got the following error using ChemmineR function propOB() to obtain molecular decrsiptors from an sdf file. This is the code as in the manual example and for some reason it keeps throwing this error.

> library(ChemmineR)
> data(sdfsample)
# Call propOB()
> propOB(sdfsample)
Error in getClass(Class, where = topenv(parent.frame())) : 
  “_p_std__string” is not a defined class

This function is very similar to the one from package ChemmineOB, and get the same error using the example

> library(ChemmineOB)
> molRefs = forEachMol("SMILES","C1CCCCC1\ttest-compound-name",identity)
> prop_OB(molRefs)
Error in getClass(Class, where = topenv(parent.frame())) : 
  “_p_std__string” is not a defined class

R version 4.0.3 (2020-10-10)

Anyone encountered and solved this problem? Thanks

ChemmineR ChemmineOB • 1.6k views
ADD COMMENT
1
Entering edit mode

Hey, I am getting the same error too. Although I had written the code much earlier and it was working then but today I am getting the same error.

ADD REPLY
1
Entering edit mode

Thanks for reporting this bug. It should be fixed soon. It has to do with an oversight on our end after the recent upgrade of ChemmineR/ChemmineOB to Open Babel version >=3.x.x.

ADD REPLY
0
Entering edit mode

Hello Dr.Girke, I wanted to know if the issue is resolved? I am still getting the same error.

ADD REPLY
1
Entering edit mode

It is working now but the update is only partially life on Bioc due to some problems we are experiencing with dependencies on the build systems. This should be resolved soon as well. If you are on Windows or Mac then you might be able to install the updated version ChemmineOB_1.28.1 from the Bioc release version 3.12 immediately. Under Linux you can get the update (ChemmineOB_1.29.3) from the Bioc development version 3.13. Not an ideal way of installing things across the 3 OSs but it could provide you with the update you are looking for right away. Once everything is fully resolved as it should, then I will report it back here.

ADD REPLY

Login before adding your answer.

Traffic: 655 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6