girke-lab / ChemmineOB

OpenBabel wrapper package for R
Other
9 stars 5 forks source link

regenerateCoords fails in ChemmineR vignette #20

Closed jarrodscott closed 3 years ago

jarrodscott commented 4 years ago

Hello

I am following the tutorial ~here~ in vignette("ChemmineR") and when I get to the part on OpenBabel Functions and run this command:

sdfset2 = regenerateCoords(sdfset[1:5]) I get this error:

Error in convertFormat("SDF", "SDF", defs, options) : unused argument (options)

the following command yields the same error.

plot(sdfset[1], regenCoords=TRUE,print=FALSE) I have search high and low for a cause. maybe it's my version of openbabel? I tried installing v2.3.2 but that failed.

I am running: on Mac OSX, 10.15.2 ChemmineOB_1.2.9 ChemmineR_3.36.0 openbabel-2.4.1

I am also cross-posting on ChemmineR.

Thanks!

jarrodscott commented 4 years ago

Ps I should add that the command works with regenCoords=FALSE

khoran commented 3 years ago

This was caused by the ChemmineOB version being too old. The 'options' argument was added in version 1.3.7. In general though, you should use the latest available version of both ChemmineR and ChemmineOB together.