Hi Alexis,

you may cast the _vectdouble to a list or a tuple and then you'll be able
to pickle it.
The 2020.09.01 is just an oversight; you are indeed the  2020.09.02 version.

Cheers,
p.

On Fri, Dec 4, 2020 at 1:32 PM Alexis Parenty <alexis.parenty.h...@gmail.com>
wrote:

> Dear Rdkiters,
>
> I could not pickle my models when using the new chemical descriptors,
> therefore, I have re-installed the latest patched version of rdkit
> 2020.09.02 through conda-forge. (ref Fixes #3511 #3513)
>
> https://anaconda.org/conda-forge/rdkit
>
> However, this new version still does not let me pickle my models:
>
> RuntimeError: Pickling of "rdkit.rdBase._vectdouble" instances is not
> enabled (http://www.boost.org/libs/python/doc/v2/pickle.html)
>
> Also, I have noticed that the newly installed version of rdkit on my
> windows64 machine is still labelled as 2020.09.01 (according to conda list)
> despite having conda-installed the 2020.09.02 version.
>
> Am I installing the wrong fixe?
>
> Many thanks and regards,
>
> Alexis
>
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to