Open tsa87 opened 3 months ago
Hi @tsa87, thanks for reporting!
It seems this was caused by https://github.com/datamol-io/datamol/pull/226, where datamol
switched from using GetMorganFingerprintAsBitVect
to GetMorganGenerator
. We should indeed update nBits
to fpSize
and set a minimum version for datamol
.
Do you want to create a PR?
Hey @cwognum, okay that makes sense! I'll create a quick PR to update the argument and fix datamol
version to >=0.12.5
There is an error when using splito with
rdkit=2024.3.4
.nBits
is not an argument forrdFingerprintGenerator.GetMorganGenerator
, however it is used as the default argument for initalizingGetMorganGenerator
here: https://github.com/datamol-io/splito/blob/654e4270f54363db894c32a6ab5fca2414738017/splito/_distance_split_base.py#L16The documentation for RDKit has
fpSize
instead. This might have changed in the new version - we should probably updatenBits
tofpSize
.Here is the full stacktrace: